@@ -15,8 +15,8 @@ lighthouse_ports_p2p_udp: 9000
15
15
lighthouse_ports_http_beacon : 5052
16
16
lighthouse_ports_metrics : 5054
17
17
lighthouse_ports_quic : 9001
18
- lighthouse_ports_quick_ipv6 : 9001
19
18
19
+ lighthouse_ipv6_enabled : false
20
20
21
21
lighthouse_validator_enabled : false
22
22
lighthouse_validator_fee_recipient : " 0xF29Ff96aaEa6C9A1fBa851f74737f3c069d4f1a9" # theprotocolguild.eth
@@ -30,38 +30,40 @@ lighthouse_validator_datadir: /data/lighthouse-validator
30
30
lighthouse_container_name : lighthouse
31
31
lighthouse_container_image : sigp/lighthouse:latest
32
32
lighthouse_container_env : {}
33
- lighthouse_container_ports :
33
+ lighthouse_container_ports_ipv4 :
34
34
- " 127.0.0.1:{{ lighthouse_ports_http_beacon }}:{{ lighthouse_ports_http_beacon }}"
35
35
- " 0.0.0.0:{{ lighthouse_ports_p2p_tcp }}:{{ lighthouse_ports_p2p_tcp }}"
36
36
- " 0.0.0.0:{{ lighthouse_ports_p2p_udp }}:{{ lighthouse_ports_p2p_udp }}/udp"
37
+ - " 0.0.0.0:{{ lighthouse_ports_quic }}:{{ lighthouse_ports_quic }}"
38
+ - " 0.0.0.0:{{ lighthouse_ports_quic }}:{{ lighthouse_ports_quic }}/udp"
39
+
40
+ lighthouse_container_ports_ipv6 :
37
41
- " [::]:{{ lighthouse_ports_p2p_tcp }}:{{ lighthouse_ports_p2p_tcp }}"
38
42
- " [::]:{{ lighthouse_ports_p2p_udp }}:{{ lighthouse_ports_p2p_udp }}/udp"
39
- - " {{ lighthouse_ports_quic }}:{{ lighthouse_ports_quic }}"
40
- - " {{ lighthouse_ports_quic }}:{{ lighthouse_ports_quic }}/udp"
43
+ - " [::]:{{ lighthouse_ports_quic }}:{{ lighthouse_ports_quic }}"
44
+ - " [::]:{{ lighthouse_ports_quic }}:{{ lighthouse_ports_quic }}/udp"
45
+
46
+ lighthouse_container_ports : >-
47
+ {{ lighthouse_container_ports_ipv4 + lighthouse_container_ports_ipv6 if lighthouse_ipv6_enabled else [] }}
41
48
42
49
lighthouse_container_volumes :
43
50
- " {{ lighthouse_datadir }}:/data"
44
51
- " {{ lighthouse_auth_jwt_path }}:/execution-auth.jwt:ro"
45
52
lighthouse_container_security_opts : []
46
53
lighthouse_container_stop_timeout : " 300"
47
54
lighthouse_container_networks : []
48
- lighthouse_container_command :
55
+ lighthouse_container_command_default :
49
56
- lighthouse
50
57
- beacon_node
51
58
- --datadir=/data
52
59
- --disable-upnp
53
60
- --disable-enr-auto-update
54
61
- --enr-address={{ lighthouse_announced_ip }}
55
- - --enr-address={{ lighthouse_announced_ipv6 }}
56
- - --enr-tcp6-port={{ lighthouse_ports_p2p_tcp }}
57
62
- --enr-tcp-port={{ lighthouse_ports_p2p_tcp }}
58
63
- --enr-udp-port={{ lighthouse_ports_p2p_udp }}
59
- - --enr-udp6-port={{ lighthouse_ports_p2p_udp }}
60
64
- --listen-address=0.0.0.0
61
65
- --port={{ lighthouse_ports_p2p_tcp }}
62
- - --port6={{ lighthouse_ports_p2p_tcp }}
63
66
- --discovery-port={{ lighthouse_ports_p2p_udp }}
64
- - --discovery-port6={{ lighthouse_ports_p2p_udp }}
65
67
- --http
66
68
- --http-address=0.0.0.0
67
69
- --http-port={{ lighthouse_ports_http_beacon }}
@@ -72,10 +74,20 @@ lighthouse_container_command:
72
74
- --metrics-allow-origin=*
73
75
- --metrics-port={{ lighthouse_ports_metrics }}
74
76
- --quic-port={{ lighthouse_ports_quic }}
75
- - --quic-port6={{ lighthouse_ports_quick_ipv6 }}
76
77
- --enr-quic-port={{ lighthouse_ports_quic }}
78
+
79
+ lighthouse_container_command_v6 :
80
+ - --enr-address={{ lighthouse_announced_ipv6 }}
81
+ - --enr-tcp6-port={{ lighthouse_ports_p2p_tcp }}
82
+ - --enr-udp6-port={{ lighthouse_ports_p2p_udp }}
83
+ - --port6={{ lighthouse_ports_p2p_tcp }}
84
+ - --discovery-port6={{ lighthouse_ports_p2p_udp }}
85
+ - --quic-port6={{ lighthouse_ports_quic }}
77
86
- --enr-quic6-port={{ lighthouse_ports_quic }}
78
87
88
+ lighthouse_container_command : >-
89
+ {{ lighthouse_container_command_default + lighthouse_container_command_v6 if lighthouse_ipv6_enabled else [] }}
90
+
79
91
lighthouse_container_command_extra_args : []
80
92
81
93
checkpoint_sync_url : https://beaconstate.ethstaker.cc
0 commit comments