update docker-compose.yml examples

This commit is contained in:
Ștefan Talpalaru 2021-09-30 23:26:48 +02:00 committed by zah
parent b217150f1d
commit 744c0d2def
3 changed files with 12 additions and 4 deletions

View File

@ -16,12 +16,13 @@ services:
- 9000:9000/tcp
- 9000:9000/udp
- 127.0.0.1:9190:9190/tcp
- 127.0.0.1:8008:8008/tcp
volumes:
- ./data:/home/user/nimbus-eth2/build/data
# you need to make sure that port 9000 is accesible from outside; no automagic port forwarding here
command: >-
--network=pyrmont
--data-dir=/home/user/nimbus-eth2/build/data/shared_pyrmont_0
--network=prater
--data-dir=/home/user/nimbus-eth2/build/data/shared_prater_0
--web3-url=wss://goerli.infura.io/ws/v3/YOUR_TOKEN
--nat=extip:YOUR_EXTERNAL_IP
--log-level=info
@ -30,4 +31,7 @@ services:
--rpc
--rpc-address=0.0.0.0
--rpc-port=9190
--metrics
--metrics-address=0.0.0.0
--metrics-port=8008

View File

@ -16,12 +16,16 @@ services:
- 9000:9000/tcp
- 9000:9000/udp
- 127.0.0.1:9190:9190/tcp
- 127.0.0.1:8008:8008/tcp
volumes:
- ./data:/home/user/nimbus-eth2/build/data
entrypoint: /home/user/nimbus-eth2/run-pyrmont-beacon-node.sh
entrypoint: /home/user/nimbus-eth2/run-prater-beacon-node.sh
environment:
WEB3_URL: wss://goerli.infura.io/ws/v3/YOUR_TOKEN
# you need to make sure that port 9000 is accesible from outside; no automagic port forwarding here
command: >-
--nat=extip:YOUR_EXTERNAL_IP
--rpc-address=0.0.0.0
--metrics
--metrics-address=0.0.0.0

View File

@ -16,7 +16,7 @@ services:
network_mode: host
volumes:
- ./data:/home/user/nimbus-eth2/build/data
entrypoint: /home/user/nimbus-eth2/run-pyrmont-beacon-node.sh
entrypoint: /home/user/nimbus-eth2/run-prater-beacon-node.sh
environment:
WEB3_URL: wss://goerli.infura.io/ws/v3/YOUR_TOKEN
#command: >-