add network mode "host"

This commit is contained in:
Ian 2023-06-13 12:19:23 -04:00 committed by GitHub
parent 25b13d7822
commit a6cf131cd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,6 +7,7 @@ services:
entrypoint: ["sh", "/docker-entrypoint-scripts.d/start-node.sh"] entrypoint: ["sh", "/docker-entrypoint-scripts.d/start-node.sh"]
volumes: volumes:
- ../config/mainnet-go-opera/start-node.sh:/docker-entrypoint-scripts.d/start-node.sh - ../config/mainnet-go-opera/start-node.sh:/docker-entrypoint-scripts.d/start-node.sh
network_mode: "host"
# TODO: ports taken from dockerfile, determine which are needed # TODO: ports taken from dockerfile, determine which are needed
ports: ports:
- "5050:5050" # p2p port, needed - "5050:5050" # p2p port, needed