Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions reth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion reth/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading