|
1 | 1 | services:
|
2 | 2 | worker:
|
3 |
| - #image: lagrangelabs/worker:holesky |
4 |
| - image: lagrangelabs/worker:${NETWORK} |
| 3 | + image: lagrangelabs/worker:${VERSION} |
5 | 4 | container_name: worker
|
6 | 5 | environment:
|
7 |
| - ################################### |
8 |
| - #Setup variables################### |
9 |
| - # You can find the list of the public RPCs for holesky here https://chainlist.org/chain/17000 |
10 |
| - - RPC_URL=https://eth.llamarpc.com |
11 |
| - - AVS__ETH_PWD=${AVS__ETH_PWD} |
12 |
| - - AVS__ETH_KEYSTORE=/config/priv_key.json |
13 |
| - - NETWORK=${NETWORK} |
14 |
| - ################################### |
15 |
| - - AVS__LAGR_KEYSTORE=/config/lagr_keystore.json |
16 |
| - - AVS__LAGR_PWD=${AVS__LAGR_PWD} |
17 |
| - - RUST_LOG=info,worker=debug |
18 |
| - - PUBLIC_PARAMS__SKIP_STORE=false |
| 6 | + ################################### |
| 7 | + #Setup variables################### |
| 8 | + # You can find the list of the public RPCs for holesky here https://chainlist.org/chain/17000 |
| 9 | + - RPC_URL=https://eth.llamarpc.com |
| 10 | + - AVS__ETH_PWD=${AVS__ETH_PWD} |
| 11 | + - AVS__ETH_KEYSTORE=/config/priv_key.json |
| 12 | + - NETWORK=${NETWORK} |
| 13 | + ################################### |
| 14 | + - AVS__LAGR_KEYSTORE=/config/lagr_keystore.json |
| 15 | + - AVS__LAGR_PWD=${AVS__LAGR_PWD} |
| 16 | + - RUST_LOG=info,worker=debug |
| 17 | + - PUBLIC_PARAMS__SKIP_STORE=false |
19 | 18 | ports:
|
20 | 19 | - "9090:9090"
|
21 | 20 | volumes:
|
22 | 21 | - ./config:/config
|
23 | 22 | - ./zkmr_params:/zkmr_params
|
24 | 23 | restart: always
|
25 | 24 | pull_policy: always
|
26 |
| - command: ["/bin/sh", "-c", "ulimit -s unlimited && worker --json --config /config/worker-conf.toml"] |
27 |
| -#fetch new docker every minute |
| 25 | + command: |
| 26 | + [ |
| 27 | + "/bin/sh", |
| 28 | + "-c", |
| 29 | + "ulimit -s unlimited && worker --json --config /config/worker-conf.toml", |
| 30 | + ] |
| 31 | + #fetch new docker every minute |
28 | 32 | watchtower:
|
29 | 33 | image: containrrr/watchtower
|
30 | 34 | container_name: watchtower
|
31 | 35 | volumes:
|
32 | 36 | - /var/run/docker.sock:/var/run/docker.sock
|
33 |
| - command: --interval 60 lagrangelabs/worker:${NETWORK} |
| 37 | + command: --interval 60 lagrangelabs/worker:${VERSION} |
0 commit comments