25 lines
684 B
YAML
25 lines
684 B
YAML
|
# 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
|
||
|
entrypoint: /home/user/nimbus-eth2/run-pyrmont-beacon-node.sh
|
||
|
environment:
|
||
|
WEB3_URL: wss://goerli.infura.io/ws/v3/YOUR_TOKEN
|
||
|
#command: >-
|
||
|
#--nat=any
|
||
|
|