diff --git a/lighthouse-cl-only.yml b/lighthouse-cl-only.yml index 2bedea1a..56918b66 100644 --- a/lighthouse-cl-only.yml +++ b/lighthouse-cl-only.yml @@ -38,15 +38,13 @@ services: - CL_EXTRAS=${CL_EXTRAS:-} - ARCHIVE_NODE=${ARCHIVE_NODE:-false} - IPV6=${IPV6:-false} - - CL_IPV6_P2P_PORT=${CL_IPV6_P2P_PORT:-9090} + - CL_P2P_PORT=${CL_P2P_PORT:-9000} - CL_QUIC_PORT=${CL_QUIC_PORT:-9001} - NETWORK=${NETWORK} ports: - ${HOST_IP:-}:${CL_P2P_PORT:-9000}:${CL_P2P_PORT:-9000}/tcp - ${HOST_IP:-}:${CL_P2P_PORT:-9000}:${CL_P2P_PORT:-9000}/udp - ${HOST_IP:-}:${CL_QUIC_PORT:-9001}:${CL_QUIC_PORT:-9001}/udp - - ${HOST_IP:-}:${CL_IPV6_P2P_PORT:-9090}:${CL_IPV6_P2P_PORT:-9090}/tcp - - ${HOST_IP:-}:${CL_IPV6_P2P_PORT:-9090}:${CL_IPV6_P2P_PORT:-9090}/udp networks: default: aliases: diff --git a/lighthouse.yml b/lighthouse.yml index 5fbb5fc3..504224cb 100644 --- a/lighthouse.yml +++ b/lighthouse.yml @@ -40,15 +40,13 @@ services: - CL_EXTRAS=${CL_EXTRAS:-} - ARCHIVE_NODE=${ARCHIVE_NODE:-false} - IPV6=${IPV6:-false} - - CL_IPV6_P2P_PORT=${CL_IPV6_P2P_PORT:-9090} + - CL_P2P_PORT=${CL_P2P_PORT:-9000} - CL_QUIC_PORT=${CL_QUIC_PORT:-9001} - NETWORK=${NETWORK} ports: - ${HOST_IP:-}:${CL_P2P_PORT:-9000}:${CL_P2P_PORT:-9000}/tcp - ${HOST_IP:-}:${CL_P2P_PORT:-9000}:${CL_P2P_PORT:-9000}/udp - ${HOST_IP:-}:${CL_QUIC_PORT:-9001}:${CL_QUIC_PORT:-9001}/udp - - ${HOST_IP:-}:${CL_IPV6_P2P_PORT:-9090}:${CL_IPV6_P2P_PORT:-9090}/tcp - - ${HOST_IP:-}:${CL_IPV6_P2P_PORT:-9090}:${CL_IPV6_P2P_PORT:-9090}/udp networks: default: aliases: diff --git a/lighthouse/docker-entrypoint.sh b/lighthouse/docker-entrypoint.sh index a6160e32..af7c9262 100755 --- a/lighthouse/docker-entrypoint.sh +++ b/lighthouse/docker-entrypoint.sh @@ -87,7 +87,7 @@ fi if [ "${IPV6}" = "true" ]; then echo "Configuring Lighthouse to listen on IPv6 ports" - __ipv6="--listen-address :: --port6 ${CL_IPV6_P2P_PORT:-9090}" + __ipv6="--listen-address :: --port6 ${CL_P2P_PORT:-9000} --quic-port6 ${CL_QUIC_PORT:-9001}" # ENR discovery on v6 is not yet working, likely too few peers. Manual for now __ipv6_pattern="^[0-9A-Fa-f]{1,4}:" # Sufficient to check the start set +e