-
Notifications
You must be signed in to change notification settings - Fork 16
/
docker-compose-geth.yaml
41 lines (41 loc) · 1.17 KB
/
docker-compose-geth.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
34
35
36
37
38
39
40
41
version: "3"
services:
demo-l1-network:
# This image is pinned because the deployment step is not deterministic. The
# block number at which the contracts are deployed changes between runs.
# image: ghcr.io/espressosystems/espresso-polygon-zkevm-demo/geth-with-contracts@sha256:8dfb508b77af42e511553e609fa6e0ef68818852737085f40cc5c769dc0ccf96
image: ghcr.io/espressosystems/espresso-polygon-zkevm-demo/geth-with-contracts:main
command: [
"--verbosity",
"2",
"--http",
"--http.api",
"admin,eth,debug,miner,net,txpool,personal,web3",
"--http.addr",
"0.0.0.0",
"--http.port",
"$ESPRESSO_ZKEVM_L1_PORT",
"--http.corsdomain",
"*",
"--http.vhosts" ,
"*",
"--ws",
"--ws.origins",
"*",
"--ws.addr",
"0.0.0.0",
"--ws.port",
"$ESPRESSO_ZKEVM_L1_PORT",
"--dev",
"--datadir",
"/geth",
"--syncmode",
"full",
"--gcmode",
"archive"
]
ports:
- $ESPRESSO_ZKEVM_L1_PORT:$ESPRESSO_ZKEVM_L1_PORT
stop_signal: SIGKILL
healthcheck:
test: ["CMD", "curl", "-s", "-f", "http://localhost:$ESPRESSO_ZKEVM_L1_PORT"]