2021-01-20 18:58:58 +00:00
|
|
|
# Using the host's network, so we can talk with a UPnP-enabled router to
|
|
|
|
# redirect ports and get the external IP.
|
|
|
|
#
|
|
|
|
# Example usage:
|
|
|
|
#
|
|
|
|
# mkdir data
|
|
|
|
# docker-compose -f docker-compose-example3.yml up --quiet-pull --no-color --detach
|
|
|
|
|
|
|
|
version: "2.4"
|
|
|
|
services:
|
|
|
|
nimbus_beacon_node:
|
|
|
|
image: statusim/nimbus-eth2:amd64-latest
|
|
|
|
container_name: nimbus-eth2-amd64-latest
|
|
|
|
restart: unless-stopped
|
|
|
|
stop_grace_period: 1m
|
|
|
|
network_mode: host
|
|
|
|
volumes:
|
|
|
|
- ./data:/home/user/nimbus-eth2/build/data
|
2021-09-30 21:26:48 +00:00
|
|
|
entrypoint: /home/user/nimbus-eth2/run-prater-beacon-node.sh
|
2021-01-20 18:58:58 +00:00
|
|
|
environment:
|
|
|
|
WEB3_URL: wss://goerli.infura.io/ws/v3/YOUR_TOKEN
|
|
|
|
#command: >-
|
|
|
|
#--nat=any
|
|
|
|
|