forked from ObolNetwork/charon-distributed-validator-node
-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathcompose-cl.yml
More file actions
182 lines (172 loc) · 6.01 KB
/
compose-cl.yml
File metadata and controls
182 lines (172 loc) · 6.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
# Override any defaults specified by `${FOO:-bar}` in `.env` with `FOO=qux`.
# ${VARIABLE:-default} evaluates to default if VARIABLE is unset or empty in the environment.
# ${VARIABLE-default} evaluates to default only if VARIABLE is unset in the environment.
services:
# _ _
# __ _ _ __ __ _ _ __ __| (_)_ __ ___
# / _` | '__/ _` | '_ \ / _` | | '_ \ / _ \
# | (_| | | | (_| | | | | (_| | | | | | __/
# \__, |_| \__,_|_| |_|\__,_|_|_| |_|\___|
# |___/
cl-grandine:
profiles: [cl-grandine]
image: sifrai/grandine:${GRANDINE_VERSION:-2.0.1}
restart: unless-stopped
labels:
- "alloy-monitored=${CL_GRANDINE_ALLOY_MONITORED:-true}"
command:
- --data-dir=/root/.grandine
- --eth1-rpc-urls=http://${EL}:8551
- --jwt-secret=/jwt/jwt.hex
- --http-address=0.0.0.0
- --http-port=5052
- --network=${NETWORK}
- --metrics
- --metrics-port=5054
- --metrics-address=0.0.0.0
- --checkpoint-sync-url=${LIGHTHOUSE_CHECKPOINT_SYNC_URL}
- --builder-url=http://${MEV}:18550
- --max-empty-slots=4096
- --target-peers=${CL_TARGET_PEERS:-80}
ports:
- ${CL_PORT_P2P:-9000}:9000 # P2P TCP+UDP
volumes:
- ./data/cl-grandine:/root/.grandine
- ./jwt:/jwt:ro
networks: [dvnode]
# _ _ _ _ _
# | (_) __ _| |__ | |_| |__ ___ _ _ ___ ___
# | | |/ _` | '_ \| __| '_ \ / _ \| | | / __|/ _ \
# | | | (_| | | | | |_| | | | (_) | |_| \__ \ __/
# |_|_|\__, |_| |_|\__|_| |_|\___/ \__,_|___/\___|
# |___/
cl-lighthouse:
profiles: [cl-lighthouse]
image: sigp/lighthouse:${LIGHTHOUSE_VERSION:-v8.1.1}
restart: unless-stopped
labels:
- "alloy-monitored=${CL_LIGHTHOUSE_ALLOY_MONITORED:-true}"
command: |
lighthouse bn
--network=${NETWORK}
--checkpoint-sync-url=${LIGHTHOUSE_CHECKPOINT_SYNC_URL}
--checkpoint-sync-url-timeout=600
--execution-endpoint=http://${EL}:8551
--execution-jwt=/opt/jwt/jwt.hex
--datadir=/opt/app/beacon/
--builder=http://${MEV}:18550
--http
--http-address=0.0.0.0
--http-port=5052
--metrics
--metrics-address=0.0.0.0
--metrics-port=5054
--metrics-allow-origin="*"
--suggested-fee-recipient=${LIDO_EXECUTION_LAYER_REWARDS_ADDRESS:-0x388C818CA8B9251b393131C08a736A67ccB19297}
--target-peers=${CL_TARGET_PEERS:-200}
ports:
- ${CL_PORT_P2P:-9000}:9000/tcp # P2P TCP
- ${CL_PORT_P2P:-9000}:9000/udp # P2P UDP
volumes:
- ./data/lighthouse:/opt/app/beacon # Keep data in lighthouse and not cl-lighthouse for backwards compatibility
- ./jwt:/opt/jwt
networks: [dvnode]
# _ _
# | |_ ___| | ___ _
# | __/ _ \ |/ / | | |
# | || __/ <| |_| |
# \__\___|_|\_\\__,_|
cl-teku:
profiles: [cl-teku]
image: consensys/teku:${VC_VERSION:-26.2.0}
restart: unless-stopped
labels:
- "alloy-monitored=${CL_TEKU_ALLOY_MONITORED:-true}"
command: |
--network=${NETWORK}
--checkpoint-sync-url=${LIGHTHOUSE_CHECKPOINT_SYNC_URL}
--ee-endpoint=http://${EL}:8551
--ee-jwt-secret-file=/jwt/jwt.hex
--data-base-path=/opt/teku/data
--builder-endpoint=http://${MEV}:18550
--rest-api-enabled=true
--rest-api-interface=0.0.0.0
--rest-api-port=5052
--rest-api-host-allowlist="*"
--metrics-enabled=true
--metrics-interface=0.0.0.0
--metrics-port=5054
--metrics-host-allowlist="*"
--validators-proposer-default-fee-recipient=${LIDO_EXECUTION_LAYER_REWARDS_ADDRESS:-0x388C818CA8B9251b393131C08a736A67ccB19297}
--p2p-peer-upper-bound=${CL_TARGET_PEERS:-100}
volumes:
- ./data/cl-teku:/opt/teku/data
- ./jwt:/jwt:ro
networks: [dvnode]
# _ _ _
# | | ___ __| | ___ ___| |_ __ _ _ __
# | |/ _ \ / _` |/ _ \/ __| __/ _` | '__|
# | | (_) | (_| | __/\__ \ || (_| | |
# |_|\___/ \__,_|\___||___/\__\__,_|_|
cl-lodestar:
profiles: [cl-lodestar]
image: chainsafe/lodestar:${VC_VERSION:-v1.40.0}
restart: unless-stopped
labels:
- "alloy-monitored=${CL_LODESTAR_ALLOY_MONITORED:-true}"
command: |
beacon
--network=${NETWORK}
--checkpointSyncUrl=${LIGHTHOUSE_CHECKPOINT_SYNC_URL}
--execution.urls=http://${EL}:8551
--jwt-secret=/jwt/jwt.hex
--dataDir=/opt/lodestar/data
--builder
--builder.url=http://${MEV}:18550
--rest
--rest.address=0.0.0.0
--rest.port=5052
--metrics
--metrics.address=0.0.0.0
--metrics.port=5054
--suggestedFeeRecipient=${LIDO_EXECUTION_LAYER_REWARDS_ADDRESS:-0x388C818CA8B9251b393131C08a736A67ccB19297}
--targetPeers=${CL_TARGET_PEERS:-200}
volumes:
- ./data/cl-lodestar:/opt/lodestar/data
- ./jwt:/jwt:ro
networks: [dvnode]
#
# _ __ _ __ _ _ ___ _ __ ___
# | '_ \| '__| | | / __| '_ ` _ \
# | |_) | | | |_| \__ \ | | | | |
# | .__/|_| \__, |___/_| |_| |_|
# |_| |___/
cl-prysm:
profiles: [cl-prysm]
image: prysmaticlabs/prysm-beacon-chain:${CL_PRYSM_VERSION:-v7.1.2}
restart: unless-stopped
labels:
- "alloy-monitored=${CL_PRYSM_ALLOY_MONITORED:-true}"
command:
- --accept-terms-of-use
- --${NETWORK}
- --datadir=/data
- --checkpoint-sync-url=${LIGHTHOUSE_CHECKPOINT_SYNC_URL}
- --genesis-beacon-api-url=${LIGHTHOUSE_CHECKPOINT_SYNC_URL}
- --execution-endpoint=http://${EL}:8551
- --jwt-secret=/jwt/jwt.hex
- --http-mev-relay=http://${MEV}:18550
- --http-host=0.0.0.0
- --http-port=5052
- --disable-monitoring=false
- --monitoring-host=0.0.0.0
- --monitoring-port=5054
- --suggested-fee-recipient=${LIDO_EXECUTION_LAYER_REWARDS_ADDRESS:-0x388C818CA8B9251b393131C08a736A67ccB19297}
- --p2p-max-peers=${CL_TARGET_PEERS:-70}
ports:
- ${CL_PORT_P2P:-9000}:13000/tcp # P2P TCP
- ${CL_PORT_P2P:-9000}:12000/udp # P2P UDP
volumes:
- ./data/cl-prysm:/data
- ./jwt:/jwt:ro
networks: [dvnode]