diff --git a/reth.yml b/reth.yml index c1f43b54c..a3a4b8002 100644 --- a/reth.yml +++ b/reth.yml @@ -31,7 +31,7 @@ services: - STATIC_DIR=${ANCIENT_DIR} - COMPOSE_FILE=${COMPOSE_FILE} - IPV6=${IPV6:-false} - - EL_P2P_PORT_2=${EL_P2P_PORT_2:-30304} + - EL_P2P_PORT=${EL_P2P_PORT:-30303} - RETH_SNAPSHOT=${RETH_SNAPSHOT:-} # Make this RUST_LOG=${LOG_LEVEL:-info},engine=trace when requiring deep debug # RPC debug can be done with jsonrpsee=trace or jsonrpsee::target=trace for a specific target @@ -45,7 +45,6 @@ services: ports: - ${HOST_IP:-}:${EL_P2P_PORT:-30303}:${EL_P2P_PORT:-30303}/tcp - ${HOST_IP:-}:${EL_P2P_PORT:-30303}:${EL_P2P_PORT:-30303}/udp - - ${HOST_IP:-}:${EL_P2P_PORT_2:-30304}:${EL_P2P_PORT_2:-30304}/udp networks: default: aliases: @@ -65,9 +64,8 @@ services: - ${EL_P2P_PORT:-30303} - --discovery.port - ${EL_P2P_PORT:-30303} - - --enable-discv5-discovery - --discovery.v5.port - - ${EL_P2P_PORT_2:-30304} + - ${EL_P2P_PORT:-30303} - --nat - publicip - --http diff --git a/reth/docker-entrypoint.sh b/reth/docker-entrypoint.sh index 32ba806b7..df48b3cb4 100755 --- a/reth/docker-entrypoint.sh +++ b/reth/docker-entrypoint.sh @@ -208,7 +208,7 @@ fi # IPV6 if [[ "${IPV6:-false}" = "true" ]]; then echo "Configuring Reth's discv5 for IPv6 advertisements" - __ipv6="--addr :: --discovery.v5.addr 0.0.0.0 --discovery.v5.port.ipv6 ${EL_P2P_PORT_2}" + __ipv6="--addr :: --discovery.v5.addr 0.0.0.0 --discovery.v5.port.ipv6 ${EL_P2P_PORT}" else __ipv6="" fi