File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -164,6 +164,9 @@ CL_P2P_PORT=9000
164164PRYSM_PORT = 9000
165165PRYSM_UDP_PORT = 9000
166166CL_QUIC_PORT = 9001
167+ # Teku needs separate ports for IPv6
168+ CL_IPV6_P2P_PORT = 9010
169+ CL_IPV6_QUIC_PORT = 9011
167170# Local grafana dashboard port. Do not expose to Internet, it is insecure http
168171GRAFANA_PORT = 3000
169172# Local Siren UI port
Original file line number Diff line number Diff line change @@ -59,12 +59,15 @@ services:
5959 - NETWORK=${NETWORK}
6060 - ENABLE_DIST_ATTESTATION_AGGR=${ENABLE_DIST_ATTESTATION_AGGR:-false}
6161 - IPV6=${IPV6:-false}
62- - CL_P2P_PORT =${CL_P2P_PORT:-9000 }
63- - CL_QUIC_PORT =${CL_QUIC_PORT:-9001 }
62+ - CL_IPV6_P2P_PORT =${CL_IPV6_P2P_PORT:-9010 }
63+ - CL_IPV6_QUIC_PORT =${CL_IPV6_QUIC_PORT:-9011 }
6464 ports :
6565 - ${HOST_IP:-}:${CL_P2P_PORT:-9000}:${CL_P2P_PORT:-9000}/tcp
6666 - ${HOST_IP:-}:${CL_P2P_PORT:-9000}:${CL_P2P_PORT:-9000}/udp
6767 - ${HOST_IP:-}:${CL_QUIC_PORT:-9001}:${CL_QUIC_PORT:-9001}/udp
68+ - ${HOST_IP:-}:${CL_IPV6_P2P_PORT:-9010}:${CL_IPV6_P2P_PORT:-9010}/tcp
69+ - ${HOST_IP:-}:${CL_IPV6_P2P_PORT:-9010}:${CL_IPV6_P2P_PORT:-9010}/udp
70+ - ${HOST_IP:-}:${CL_IPV6_QUIC_PORT:-9011}:${CL_IPV6_QUIC_PORT:-9011}/udp
6871 networks :
6972 default :
7073 aliases :
Original file line number Diff line number Diff line change @@ -47,12 +47,15 @@ services:
4747 - WEB3SIGNER=false
4848 - NETWORK=${NETWORK}
4949 - IPV6=${IPV6:-false}
50- - CL_P2P_PORT =${CL_P2P_PORT:-9000 }
51- - CL_QUIC_PORT =${CL_QUIC_PORT:-9001 }
50+ - CL_IPV6_P2P_PORT =${CL_IPV6_P2P_PORT:-9010 }
51+ - CL_IPV6_QUIC_PORT =${CL_IPV6_QUIC_PORT:-9011 }
5252 ports :
5353 - ${HOST_IP:-}:${CL_P2P_PORT:-9000}:${CL_P2P_PORT:-9000}/tcp
5454 - ${HOST_IP:-}:${CL_P2P_PORT:-9000}:${CL_P2P_PORT:-9000}/udp
5555 - ${HOST_IP:-}:${CL_QUIC_PORT:-9001}:${CL_QUIC_PORT:-9001}/udp
56+ - ${HOST_IP:-}:${CL_IPV6_P2P_PORT:-9010}:${CL_IPV6_P2P_PORT:-9010}/tcp
57+ - ${HOST_IP:-}:${CL_IPV6_P2P_PORT:-9010}:${CL_IPV6_P2P_PORT:-9010}/udp
58+ - ${HOST_IP:-}:${CL_IPV6_QUIC_PORT:-9011}:${CL_IPV6_QUIC_PORT:-9011}/udp
5659 networks :
5760 default :
5861 aliases :
Original file line number Diff line number Diff line change @@ -56,12 +56,15 @@ services:
5656 - EMBEDDED_VC=false
5757 - NETWORK=${NETWORK}
5858 - IPV6=${IPV6:-false}
59- - CL_P2P_PORT =${CL_P2P_PORT:-9000 }
60- - CL_QUIC_PORT =${CL_QUIC_PORT:-9001 }
59+ - CL_IPV6_P2P_PORT =${CL_IPV6_P2P_PORT:-9010 }
60+ - CL_IPV6_QUIC_PORT =${CL_IPV6_QUIC_PORT:-9011 }
6161 ports :
6262 - ${HOST_IP:-}:${CL_P2P_PORT:-9000}:${CL_P2P_PORT:-9000}/tcp
6363 - ${HOST_IP:-}:${CL_P2P_PORT:-9000}:${CL_P2P_PORT:-9000}/udp
6464 - ${HOST_IP:-}:${CL_QUIC_PORT:-9001}:${CL_QUIC_PORT:-9001}/udp
65+ - ${HOST_IP:-}:${CL_IPV6_P2P_PORT:-9010}:${CL_IPV6_P2P_PORT:-9010}/tcp
66+ - ${HOST_IP:-}:${CL_IPV6_P2P_PORT:-9010}:${CL_IPV6_P2P_PORT:-9010}/udp
67+ - ${HOST_IP:-}:${CL_IPV6_QUIC_PORT:-9011}:${CL_IPV6_QUIC_PORT:-9011}/udp
6568 networks :
6669 default :
6770 aliases :
Original file line number Diff line number Diff line change 191191
192192if [[ " ${IPV6} " = " true" ]]; then
193193 echo " Configuring Teku to listen on IPv6 ports"
194- __ipv6=" --p2p-interface 0.0.0.0,:: --p2p-port-ipv6 ${CL_P2P_PORT :- 9000 } --p2p-quic-port-ipv6 ${CL_QUIC_PORT :- 9001 } "
194+ __ipv6=" --p2p-interface 0.0.0.0,:: --p2p-port-ipv6 ${CL_IPV6_P2P_PORT :- 9010 } --p2p-quic-port-ipv6 ${CL_IPV6_QUIC_PORT :- 9011 } "
195195else
196196 __ipv6=" "
197197fi
You can’t perform that action at this time.
0 commit comments