forked from ObolNetwork/charon-distributed-validator-node
-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathcompose-el.yml
More file actions
76 lines (71 loc) · 2.52 KB
/
compose-el.yml
File metadata and controls
76 lines (71 loc) · 2.52 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
# 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:
# _ _ _ _
# _ __ ___| |_| |__ ___ _ __ _ __ ___ (_)_ __ __| |
# | '_ \ / _ \ __| '_ \ / _ \ '__| '_ ` _ \| | '_ \ / _` |
# | | | | __/ |_| | | | __/ | | | | | | | | | | | (_| |
# |_| |_|\___|\__|_| |_|\___|_| |_| |_| |_|_|_| |_|\__,_|
el-nethermind:
profiles: [el-nethermind]
image: nethermind/nethermind:${EL_NETHERMIND_VERSION:-1.36.2}
restart: unless-stopped
ports:
- ${EL_PORT_P2P:-30303}:30303/tcp # P2P TCP
- ${EL_PORT_P2P:-30303}:30303/udp # P2P UDP
- ${EL_IP_HTTP:-127.0.0.1}:${EL_PORT_HTTP:-8545}:8545 # JSON-RPC
- ${EL_IP_ENGINE:-127.0.0.1}:${EL_PORT_ENGINE:-8551}:8551 # ENGINE-API
labels:
- "alloy-monitored=${EL_NETHERMIND_ALLOY_MONITORED:-true}"
command: |
--config=${NETWORK}
--data-dir=/nethermind/data
--HealthChecks.Enabled=true
--JsonRpc.Enabled=true
--JsonRpc.JwtSecretFile="/root/jwt/jwt.hex"
--JsonRpc.EngineHost=0.0.0.0
--JsonRpc.EnginePort=8551
--JsonRpc.Host=0.0.0.0
--JsonRpc.Port=8545
--Metrics.Enabled=true
--Metrics.ExposePort=8008
--Sync.SnapSync=true
--History.Pruning=Rolling
--Blocks.BlockProductionBlobLimit=0
networks: [dvnode]
volumes:
- ./data/nethermind:/nethermind/data
- ./jwt:/root/jwt
# _ _
# _ __ ___| |_| |__
# | '__/ _ \ __| '_ \
# | | | __/ |_| | | |
# |_| \___|\__|_| |_|
el-reth:
profiles: [el-reth]
image: ghcr.io/paradigmxyz/reth:${EL_RETH_VERSION:-v2.1.0}
restart: unless-stopped
ports:
- ${EL_PORT_P2P:-30303}:30303/tcp # P2P TCP
- ${EL_PORT_P2P:-30303}:30303/udp # P2P UDP
- ${EL_IP_HTTP:-127.0.0.1}:${EL_PORT_HTTP:-8545}:8545 # JSON-RPC
- ${EL_IP_ENGINE:-127.0.0.1}:${EL_PORT_ENGINE:-8551}:8551 # ENGINE-API
labels:
- "alloy-monitored=${EL_RETH_ALLOY_MONITORED:-true}"
command: |
node
--full
--chain=${NETWORK}
--datadir=/reth/data
--authrpc.jwtsecret="/root/jwt/jwt.hex"
--authrpc.addr=0.0.0.0
--authrpc.port=8551
--http
--http.addr=0.0.0.0
--http.port=8545
--metrics=0.0.0.0:8008
networks: [dvnode]
volumes:
- ./data/reth:/reth/data
- ./jwt:/root/jwt