update docker-compose.yml examples
This commit is contained in:
parent
b217150f1d
commit
744c0d2def
|
@ -16,12 +16,13 @@ services:
|
||||||
- 9000:9000/tcp
|
- 9000:9000/tcp
|
||||||
- 9000:9000/udp
|
- 9000:9000/udp
|
||||||
- 127.0.0.1:9190:9190/tcp
|
- 127.0.0.1:9190:9190/tcp
|
||||||
|
- 127.0.0.1:8008:8008/tcp
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/home/user/nimbus-eth2/build/data
|
- ./data:/home/user/nimbus-eth2/build/data
|
||||||
# you need to make sure that port 9000 is accesible from outside; no automagic port forwarding here
|
# you need to make sure that port 9000 is accesible from outside; no automagic port forwarding here
|
||||||
command: >-
|
command: >-
|
||||||
--network=pyrmont
|
--network=prater
|
||||||
--data-dir=/home/user/nimbus-eth2/build/data/shared_pyrmont_0
|
--data-dir=/home/user/nimbus-eth2/build/data/shared_prater_0
|
||||||
--web3-url=wss://goerli.infura.io/ws/v3/YOUR_TOKEN
|
--web3-url=wss://goerli.infura.io/ws/v3/YOUR_TOKEN
|
||||||
--nat=extip:YOUR_EXTERNAL_IP
|
--nat=extip:YOUR_EXTERNAL_IP
|
||||||
--log-level=info
|
--log-level=info
|
||||||
|
@ -30,4 +31,7 @@ services:
|
||||||
--rpc
|
--rpc
|
||||||
--rpc-address=0.0.0.0
|
--rpc-address=0.0.0.0
|
||||||
--rpc-port=9190
|
--rpc-port=9190
|
||||||
|
--metrics
|
||||||
|
--metrics-address=0.0.0.0
|
||||||
|
--metrics-port=8008
|
||||||
|
|
||||||
|
|
|
@ -16,12 +16,16 @@ services:
|
||||||
- 9000:9000/tcp
|
- 9000:9000/tcp
|
||||||
- 9000:9000/udp
|
- 9000:9000/udp
|
||||||
- 127.0.0.1:9190:9190/tcp
|
- 127.0.0.1:9190:9190/tcp
|
||||||
|
- 127.0.0.1:8008:8008/tcp
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/home/user/nimbus-eth2/build/data
|
- ./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:
|
environment:
|
||||||
WEB3_URL: wss://goerli.infura.io/ws/v3/YOUR_TOKEN
|
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
|
# you need to make sure that port 9000 is accesible from outside; no automagic port forwarding here
|
||||||
command: >-
|
command: >-
|
||||||
--nat=extip:YOUR_EXTERNAL_IP
|
--nat=extip:YOUR_EXTERNAL_IP
|
||||||
|
--rpc-address=0.0.0.0
|
||||||
|
--metrics
|
||||||
|
--metrics-address=0.0.0.0
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ services:
|
||||||
network_mode: host
|
network_mode: host
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/home/user/nimbus-eth2/build/data
|
- ./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:
|
environment:
|
||||||
WEB3_URL: wss://goerli.infura.io/ws/v3/YOUR_TOKEN
|
WEB3_URL: wss://goerli.infura.io/ws/v3/YOUR_TOKEN
|
||||||
#command: >-
|
#command: >-
|
||||||
|
|
Loading…
Reference in New Issue