From e496c64f6a4abca39b147b8d3eb63e222e33f166 Mon Sep 17 00:00:00 2001 From: Sebastian <379651+czarly@users.noreply.github.com> Date: Sun, 2 Feb 2025 07:52:02 +0100 Subject: [PATCH] get public ip --- erigon-linea.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/erigon-linea.yml b/erigon-linea.yml index bff7d72c..ba107d76 100644 --- a/erigon-linea.yml +++ b/erigon-linea.yml @@ -23,6 +23,8 @@ services: networks: - chains entrypoint: /entrypoint.sh + environment: + - "IP=${IP}" command: > --chain=mainnet --networkid=59144 @@ -32,7 +34,7 @@ services: --txpool.globalslots 50000 --txpool.pricelimit 1000000000 --txpool.nolocals - --nat=stun + --nat=extip:${IP} --snapshots=false --port=30319 --p2p.allowed-ports 18025