-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose.yaml
33 lines (33 loc) · 1.08 KB
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
services:
worker:
#image: lagrangelabs/worker:holesky
image: lagrangelabs/worker:${NETWORK}
container_name: worker
environment:
###################################
#Setup variables###################
# You can find the list of the public RPCs for holesky here https://chainlist.org/chain/17000
- RPC_URL=https://eth.llamarpc.com
- AVS__ETH_PWD=${AVS__ETH_PWD}
- AVS__ETH_KEYSTORE=/config/priv_key.json
- NETWORK=${NETWORK}
###################################
- AVS__LAGR_KEYSTORE=/config/lagr_keystore.json
- AVS__LAGR_PWD=${AVS__LAGR_PWD}
- RUST_LOG=info,worker=debug
- PUBLIC_PARAMS__SKIP_STORE=false
ports:
- "9090:9090"
volumes:
- ./config:/config
- ./zkmr_params:/zkmr_params
restart: always
pull_policy: always
command: ["worker", "--config", "/config/worker-conf.toml"]
#fetch new docker every minute
watchtower:
image: containrrr/watchtower
container_name: watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: --interval 60 lagrangelabs/worker:${NETWORK}