get public ip

This commit is contained in:
Sebastian
2025-02-02 07:52:02 +01:00
parent 342a390704
commit e496c64f6a

View File

@@ -23,6 +23,8 @@ services:
networks: networks:
- chains - chains
entrypoint: /entrypoint.sh entrypoint: /entrypoint.sh
environment:
- "IP=${IP}"
command: > command: >
--chain=mainnet --chain=mainnet
--networkid=59144 --networkid=59144
@@ -32,7 +34,7 @@ services:
--txpool.globalslots 50000 --txpool.globalslots 50000
--txpool.pricelimit 1000000000 --txpool.pricelimit 1000000000
--txpool.nolocals --txpool.nolocals
--nat=stun --nat=extip:${IP}
--snapshots=false --snapshots=false
--port=30319 --port=30319
--p2p.allowed-ports 18025 --p2p.allowed-ports 18025