Skip to content

Commit 50982f6

Browse files
authored
Correct docker-compose.yml file
1 parent f2ba01f commit 50982f6

File tree

1 file changed

+45
-45
lines changed

1 file changed

+45
-45
lines changed

docs/zkEVM/get-started/deploy-zkevm/setup-goerli-node.md

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -40,51 +40,51 @@ mkdir -p ~/goerli-node/docker-volumes/{geth,prysm}
4040
3. Copy and paste the following content into the `docker-compose.yml` file:
4141

4242
```yaml
43-
services:
44-
geth:
45-
image: "ethereum/client-go:stable"
46-
container_name: goerli-execution
47-
command: |
48-
--goerli
49-
--http
50-
--http.vhosts=*
51-
--http.rpcprefix=/
52-
--http.corsdomain=*
53-
--http.addr 0.0.0.0
54-
--http.api eth,net,engine,admin
55-
--config=/app/config.toml
56-
volumes:
57-
- "./docker-volumes/geth:/root/.ethereum"
58-
- "./config.toml:/app/config.toml"
59-
ports:
60-
- "0.0.0.0:${L1_RPC_PORT}:8545"
61-
- "0.0.0.0:30303:30303/udp"
62-
63-
prysm:
64-
image: "gcr.io/prysmaticlabs/prysm/beacon-chain:stable"
65-
66-
container_name: goerli-consensus
67-
command: |
68-
--prater
69-
--datadir=/data
70-
--jwt-secret=/geth/goerli/geth/jwtsecret
71-
--rpc-host=0.0.0.0
72-
--grpc-gateway-host=0.0.0.0
73-
--monitoring-host=0.0.0.0
74-
--execution-endpoint=/geth/goerli/geth.ipc
75-
--accept-terms-of-use
76-
--suggested-fee-recipient=${L1_SUGGESTED_FEE_RECIPIENT_ADDR}
77-
--checkpoint-sync-url=${L1_CHECKPOINT_URL}
78-
volumes:
79-
- "./docker-volumes/prysm:/data"
80-
- "./docker-volumes/geth:/geth"
81-
ports:
82-
- "0.0.0.0:3500:3500"
83-
- "0.0.0.0:4000:4000"
84-
- "0.0.0.0:12000:12000/udp"
85-
- "0.0.0.0:13000:13000"
86-
depends_on:
87-
- geth
43+
services:
44+
geth:
45+
image: "ethereum/client-go:stable"
46+
container_name: goerli-execution
47+
command: |
48+
--goerli
49+
--http
50+
--http.vhosts=*
51+
--http.rpcprefix=/
52+
--http.corsdomain=*
53+
--http.addr 0.0.0.0
54+
--http.api eth,net,engine,admin
55+
--config=/app/config.toml
56+
volumes:
57+
- "./docker-volumes/geth:/root/.ethereum"
58+
- "./config.toml:/app/config.toml"
59+
ports:
60+
- "0.0.0.0:${L1_RPC_PORT}:8545"
61+
- "0.0.0.0:30303:30303/udp"
62+
63+
prysm:
64+
image: "gcr.io/prysmaticlabs/prysm/beacon-chain:stable"
65+
66+
container_name: goerli-consensus
67+
command: |
68+
--prater
69+
--datadir=/data
70+
--jwt-secret=/geth/goerli/geth/jwtsecret
71+
--rpc-host=0.0.0.0
72+
--grpc-gateway-host=0.0.0.0
73+
--monitoring-host=0.0.0.0
74+
--execution-endpoint=/geth/goerli/geth.ipc
75+
--accept-terms-of-use
76+
--suggested-fee-recipient=${L1_SUGGESTED_FEE_RECIPIENT_ADDR}
77+
--checkpoint-sync-url=${L1_CHECKPOINT_URL}
78+
volumes:
79+
- "./docker-volumes/prysm:/data"
80+
- "./docker-volumes/geth:/geth"
81+
ports:
82+
- "0.0.0.0:3500:3500"
83+
- "0.0.0.0:4000:4000"
84+
- "0.0.0.0:12000:12000/udp"
85+
- "0.0.0.0:13000:13000"
86+
depends_on:
87+
- geth
8888
```
8989
9090
4. Save and Close the `docker-compose.yml` file.

0 commit comments

Comments
 (0)