forked from informalsystems/emerald
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcompose.yaml
More file actions
332 lines (331 loc) · 11.2 KB
/
compose.yaml
File metadata and controls
332 lines (331 loc) · 11.2 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
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
volumes:
reth0:
reth1:
reth2:
reth3:
reth4:
reth5:
reth6:
services:
reth0:
network_mode: host
image: ghcr.io/informalsystems/custom-reth:latest
container_name: reth0
volumes:
- reth0:/data
- ./assets:/root/assets/
environment:
PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUST_LOG: info
command:
- "node"
- "-vvvvv"
- "-d"
- "--datadir=/data/reth/execution-data"
- "--chain=/root/assets/genesis.json"
- "--http"
- "--http.port=8645"
- "--http.addr=0.0.0.0"
- "--http.corsdomain=*"
- "--http.api=admin,net,eth,web3,debug,txpool,trace,ots"
- "--ws"
- "--ws.port=8646"
- "--ws.addr=0.0.0.0"
- "--authrpc.addr=0.0.0.0"
- "--authrpc.port=8551"
- "--authrpc.jwtsecret=/root/assets/jwtsecret"
- "--metrics=127.0.0.1:9000"
- "--discovery.port=31303"
- "--port=31303"
- "--nat=extip:127.0.0.1"
- "--engine.persistence-threshold=0"
# - "--builder.gaslimit=3600000000" # default * 100
# - "--builder.interval=10ms"
# - "--builder.deadline=1" # The deadline in seconds for when the payload builder job should resolve
# - "--builder.max-tasks=10" # default=3
# - "--txpool.gas-limit=300000000" # default * 10
# - "--blobpool.pricebump=1"
# - "--txpool.pending-max-count=50000" # default=10000
# - "--txpool.queued-max-count=50000" # default=10000
reth1:
network_mode: host
image: ghcr.io/informalsystems/custom-reth:latest
container_name: reth1
volumes:
- reth1:/data
- ./assets:/root/assets/
environment:
PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUST_LOG: info
command:
- "node"
- "-vvvvv"
- "-d"
- "--datadir=/data/reth/execution-data"
- "--chain=/root/assets/genesis.json"
- "--http"
- "--http.port=8745"
- "--http.addr=0.0.0.0"
- "--http.corsdomain=*"
- "--http.api=admin,net,eth,web3,debug,txpool,trace,ots"
- "--ws"
- "--ws.port=8746"
- "--ws.addr=0.0.0.0"
- "--authrpc.addr=0.0.0.0"
- "--authrpc.port=9551"
- "--authrpc.jwtsecret=/root/assets/jwtsecret"
# If node pruning is to be enabled - uncomment this
# - "--prune.receipts.distance=10064"
# - "--prune.account-history.distance=10064"
# - "--prune.storage-history.distance=10064"
# - "--prune.transaction-lookup.distance=10064"
# - "--prune.sender-recovery.distance=10064"
# - "--prune.block-interval=5"
# - "--prune.bodies.distance=10064"
- "--metrics=127.0.0.1:9001"
- "--discovery.port=32303"
- "--port=32303"
- "--nat=extip:127.0.0.1"
- "--engine.persistence-threshold=0"
# - "--builder.gaslimit=3600000000" # default * 100
# - "--builder.interval=10ms"
# - "--builder.deadline=1" # The deadline in seconds for when the payload builder job should resolve
# - "--builder.max-tasks=10" # default=3
# - "--txpool.gas-limit=300000000" # default * 10
# - "--blobpool.pricebump=1"
# - "--txpool.pending-max-count=50000" # default=10000
# - "--txpool.queued-max-count=50000" # default=10000
reth2:
network_mode: host
image: ghcr.io/informalsystems/custom-reth:latest
container_name: reth2
volumes:
- reth2:/data
- ./assets:/root/assets/
environment:
PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUST_LOG: info
command:
- "node"
- "-vvvvv"
- "-d"
- "--datadir=/data/reth/execution-data"
- "--chain=/root/assets/genesis.json"
- "--http"
- "--http.port=8845"
- "--http.addr=0.0.0.0"
- "--http.corsdomain=*"
- "--http.api=admin,net,eth,web3,debug,txpool,trace,ots"
- "--ws"
- "--ws.port=8846"
- "--ws.addr=0.0.0.0"
- "--authrpc.addr=0.0.0.0"
- "--authrpc.port=10551"
- "--authrpc.jwtsecret=/root/assets/jwtsecret"
- "--metrics=127.0.0.1:9002"
- "--discovery.port=33303"
- "--port=33303"
- "--nat=extip:127.0.0.1"
- "--engine.persistence-threshold=0"
# - "--builder.gaslimit=3600000000" # default * 100
# - "--builder.interval=10ms"
# - "--builder.deadline=1" # The deadline in seconds for when the payload builder job should resolve
# - "--builder.max-tasks=10" # default=3
# - "--txpool.gas-limit=300000000" # default * 10
# - "--blobpool.pricebump=1"
# - "--txpool.pending-max-count=50000" # default=10000
# - "--txpool.queued-max-count=50000" # default=10000
reth3:
network_mode: host
image: ghcr.io/informalsystems/custom-reth:latest
container_name: reth3
volumes:
- reth3:/data
- ./assets:/root/assets/
environment:
PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUST_LOG: info
command:
- "node"
- "-vvvvv"
- "-d"
- "--datadir=/data/reth/execution-data"
- "--chain=/root/assets/genesis.json"
- "--http"
- "--http.port=8945"
- "--http.addr=0.0.0.0"
- "--http.corsdomain=*"
- "--http.api=admin,net,eth,web3,debug,txpool,trace,ots"
- "--ws"
- "--ws.port=8946"
- "--ws.addr=0.0.0.0"
- "--authrpc.addr=0.0.0.0"
- "--authrpc.port=11551"
- "--authrpc.jwtsecret=/root/assets/jwtsecret"
- "--metrics=127.0.0.1:9003"
- "--discovery.port=34303"
- "--port=34303"
- "--nat=extip:127.0.0.1"
- "--engine.persistence-threshold=0"
# - "--builder.gaslimit=3600000000" # default * 100
# - "--builder.interval=10ms"
# - "--builder.deadline=1" # The deadline in seconds for when the payload builder job should resolve
# - "--builder.max-tasks=10" # default=3
# - "--txpool.gas-limit=300000000" # default * 10
# - "--blobpool.pricebump=1"
# - "--txpool.pending-max-count=50000" # default=10000
# - "--txpool.queued-max-count=50000" # default=10000
reth4:
network_mode: host
image: ghcr.io/informalsystems/custom-reth:latest
container_name: reth4
volumes:
- reth4:/data
- ./assets:/root/assets/
environment:
PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUST_LOG: info
command:
- "node"
- "-vvvvv"
- "-d"
- "--datadir=/data/reth/execution-data"
- "--chain=/root/assets/genesis.json"
- "--http"
- "--http.port=9045"
- "--http.addr=0.0.0.0"
- "--http.corsdomain=*"
- "--http.api=admin,net,eth,web3,debug,txpool,trace,ots"
- "--ws"
- "--ws.port=9046"
- "--ws.addr=0.0.0.0"
- "--authrpc.addr=0.0.0.0"
- "--authrpc.port=12551"
- "--authrpc.jwtsecret=/root/assets/jwtsecret"
- "--metrics=127.0.0.1:9004"
- "--discovery.port=35303"
- "--port=35303"
- "--nat=extip:127.0.0.1"
- "--engine.persistence-threshold=0"
# - "--builder.gaslimit=3600000000" # default * 100
# - "--builder.interval=10ms"
# - "--builder.deadline=1" # The deadline in seconds for when the payload builder job should resolve
# - "--builder.max-tasks=10" # default=3
# - "--txpool.gas-limit=300000000" # default * 10
# - "--blobpool.pricebump=1"
# - "--txpool.pending-max-count=50000" # default=10000
# - "--txpool.queued-max-count=50000" # default=10000
reth5:
network_mode: host
image: ghcr.io/informalsystems/custom-reth:latest
container_name: reth5
volumes:
- reth5:/data
- ./assets:/root/assets/
environment:
PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUST_LOG: info
command:
- "node"
- "-vvvvv"
- "-d"
- "--datadir=/data/reth/execution-data"
- "--chain=/root/assets/genesis.json"
- "--http"
- "--http.port=9145"
- "--http.addr=0.0.0.0"
- "--http.corsdomain=*"
- "--http.api=admin,net,eth,web3,debug,txpool,trace,ots"
- "--ws"
- "--ws.port=9146"
- "--ws.addr=0.0.0.0"
- "--authrpc.addr=0.0.0.0"
- "--authrpc.port=13551"
- "--authrpc.jwtsecret=/root/assets/jwtsecret"
- "--metrics=127.0.0.1:9005"
- "--discovery.port=36303"
- "--port=36303"
- "--nat=extip:127.0.0.1"
- "--engine.persistence-threshold=0"
# - "--builder.gaslimit=3600000000" # default * 100
# - "--builder.interval=10ms"
# - "--builder.deadline=1" # The deadline in seconds for when the payload builder job should resolve
# - "--builder.max-tasks=10" # default=3
# - "--txpool.gas-limit=300000000" # default * 10
# - "--blobpool.pricebump=1"
# - "--txpool.pending-max-count=50000" # default=10000
# - "--txpool.queued-max-count=50000" # default=10000
reth6:
network_mode: host
image: ghcr.io/informalsystems/custom-reth:latest
container_name: reth6
volumes:
- reth6:/data
- ./assets:/root/assets/
environment:
PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUST_LOG: info
command:
- "node"
- "-vvvvv"
- "-d"
- "--datadir=/data/reth/execution-data"
- "--chain=/root/assets/genesis.json"
- "--http"
- "--http.port=9245"
- "--http.addr=0.0.0.0"
- "--http.corsdomain=*"
- "--http.api=admin,net,eth,web3,debug,txpool,trace,ots"
- "--ws"
- "--ws.port=9246"
- "--ws.addr=0.0.0.0"
- "--authrpc.addr=0.0.0.0"
- "--authrpc.port=14551"
- "--authrpc.jwtsecret=/root/assets/jwtsecret"
- "--metrics=127.0.0.1:9006"
- "--discovery.port=37303"
- "--port=37303"
- "--nat=extip:127.0.0.1"
- "--engine.persistence-threshold=0"
# - "--builder.gaslimit=3600000000" # default * 100
# - "--builder.interval=10ms"
# - "--builder.deadline=1" # The deadline in seconds for when the payload builder job should resolve
# - "--builder.max-tasks=10" # default=3
# - "--txpool.gas-limit=300000000" # default * 10
# - "--blobpool.pricebump=1"
# - "--txpool.pending-max-count=50000" # default=10000
# - "--txpool.queued-max-count=50000" # default=10000
prometheus:
network_mode: host
build:
dockerfile: Dockerfile.prometheus
user: "65534"
grafana:
network_mode: host
build:
dockerfile: Dockerfile.grafana
user: "501"
environment:
GF_LOG_LEVEL: info
GF_SERVER_HTTP_PORT: 4000
GF_SERVER_HTTP_ADDR: 0.0.0.0
GF_ANALYTICS_ENABLED: false
GF_ANALYTICS_REPORTING_ENABLED: false
GF_ANALYTICS_CHECK_FOR_PLUGIN_UPDATES: false
GF_ANALYTICS_CHECK_FOR_UPDATES: false
GF_ANALYTICS_FEEDBACK_LINKS_ENABLED: false
GF_SECURITY_DISABLE_GRAVATAR: true
GF_DASHBOARDS_DEFAULT_HOME_DASHBOARD_PATH: /etc/grafana/provisioning/dashboards-data/default.json
GF_USERS_DEFAULT_THEME: system
GF_USERS_EDITORS_CAN_ADMIN: true
GF_AUTH_ANONYMOUS_ENABLED: true
GF_AUTH_ANONYMOUS_ORG_ROLE: Editor
GF_AUTH_BASIC_ENABLED: false
GF_NEWS_NEWS_FEED_ENABLED: false
otterscan:
image: otterscan/otterscan:develop
depends_on:
- reth0
network_mode: host # frontend is at http://127.0.0.1:80
environment:
ERIGON_URL: "http://127.0.0.1:8645"