Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .env.sample.holesky
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@ NETWORK=holesky

# Execution layer client to be used in a DV setup. Uncomment only the desired client.
EL=el-nethermind
#EL=el-reth

# Consensus layer client to be used in a DV setup. Uncomment only the desired client.
CL=cl-lighthouse
#CL=cl-grandine
#CL=cl-teku
#CL=cl-lodestar

# Validator client to be used in a DV setup. Uncomment only the desired client.
VC=vc-lodestar
Expand Down Expand Up @@ -42,6 +45,10 @@ COMPOSE_FILE=compose-el.yml:compose-cl.yml:compose-vc.yml:compose-mev.yml:docker
# See available tags https://hub.docker.com/r/nethermind/nethermind/tags
#NETHERMIND_VERSION=

# Reth docker container image version.
# See available tags https://github.com/paradigmxyz/reth/pkgs/container/reth
#RETH_VERSION=

# Nethermind ancient barrier allows you to specify how many old block bodies and receipts you want to store.
#NETHERMIND_ANCIENT_BODIES_BARRIER=
#NETHERMIND_ANCIENT_RECEIPTS_BARRIER=
Expand All @@ -62,6 +69,14 @@ LIGHTHOUSE_CHECKPOINT_SYNC_URL=https://checkpoint-sync.holesky.ethpandaops.io/
# See available tags https://hub.docker.com/r/sifrai/grandine/tags.
#CL_GRANDINE_VERSION=

# Teku beacon node docker container image version.
# See available tags https://hub.docker.com/r/consensys/teku/tags
#CL_TEKU_VERSION=

# Lodestar beacon node docker container image version.
# See available tags https://hub.docker.com/r/chainsafe/lodestar/tags
#CL_LODESTAR_VERSION=

######### Validator Client Config #########

# Override prometheus metrics port for validator client.
Expand Down Expand Up @@ -181,8 +196,11 @@ MEV_RELAYS=https://0xab78bf8c781c58078c3beb5710c57940874dd96aef2835e7742c866b4c7
# Uncomment these if you have log exporting with Promtail
# and want to disable log export on a particular container.
#EL_NETHERMIND_PROMTAIL_MONITORED=false
#EL_RETH_PROMTAIL_MONITORED=false
#CL_LIGHTHOUSE_PROMTAIL_MONITORED=false
#CL_GRANDINE_PROMTAIL_MONITORED=false
#CL_TEKU_PROMTAIL_MONITORED=false
#CL_LODESTAR_PROMTAIL_MONITORED=false
#CHARON_PROMTAIL_MONITORED=false
#VC_LODESTAR_PROMTAIL_MONITORED=false
#VC_NIMBUS_PROMTAIL_MONITORED=false
Expand Down
18 changes: 18 additions & 0 deletions .env.sample.hoodi
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@ NETWORK=hoodi

# Execution layer client to be used in a DV setup. Uncomment only the desired client.
EL=el-nethermind
#EL=el-reth

# Consensus layer client to be used in a DV setup. Uncomment only the desired client.
CL=cl-lighthouse
#CL=cl-grandine
#CL=cl-teku
#CL=cl-lodestar

# Validator client to be used in a DV setup. Uncomment only the desired client.
VC=vc-lodestar
Expand Down Expand Up @@ -42,6 +45,10 @@ COMPOSE_FILE=compose-el.yml:compose-cl.yml:compose-vc.yml:compose-mev.yml:docker
# See available tags https://hub.docker.com/r/nethermind/nethermind/tags
#NETHERMIND_VERSION=

# Reth docker container image version.
# See available tags https://github.com/paradigmxyz/reth/pkgs/container/reth
#RETH_VERSION=

# Nethermind ancient barrier allows you to specify how many old block bodies and receipts you want to store.
#NETHERMIND_ANCIENT_BODIES_BARRIER=
#NETHERMIND_ANCIENT_RECEIPTS_BARRIER=
Expand All @@ -62,6 +69,14 @@ LIGHTHOUSE_CHECKPOINT_SYNC_URL=https://checkpoint-sync.hoodi.ethpandaops.io/
# See available tags https://hub.docker.com/r/sifrai/grandine/tags.
#CL_GRANDINE_VERSION=

# Teku beacon node docker container image version.
# See available tags https://hub.docker.com/r/consensys/teku/tags
#CL_TEKU_VERSION=

# Lodestar beacon node docker container image version.
# See available tags https://hub.docker.com/r/chainsafe/lodestar/tags
#CL_LODESTAR_VERSION=

######### Validator Client Config #########

# Override prometheus metrics port for validator client.
Expand Down Expand Up @@ -181,8 +196,11 @@ MEV_RELAYS=https://0x98f0ef62f00780cf8eb06701a7d22725b9437d4768bb19b363e882ae871
# Uncomment these if you have log exporting with Promtail
# and want to disable log export on a particular container.
#EL_NETHERMIND_PROMTAIL_MONITORED=false
#EL_RETH_PROMTAIL_MONITORED=false
#CL_LIGHTHOUSE_PROMTAIL_MONITORED=false
#CL_GRANDINE_PROMTAIL_MONITORED=false
#CL_TEKU_PROMTAIL_MONITORED=false
#CL_LODESTAR_PROMTAIL_MONITORED=false
#CHARON_PROMTAIL_MONITORED=false
#VC_LODESTAR_PROMTAIL_MONITORED=false
#VC_NIMBUS_PROMTAIL_MONITORED=false
Expand Down
18 changes: 18 additions & 0 deletions .env.sample.mainnet
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@ NETWORK=mainnet

# Execution layer client to be used in a DV setup. Uncomment only the desired client.
EL=el-nethermind
#EL=el-reth

# Consensus layer client to be used in a DV setup. Uncomment only the desired client.
CL=cl-lighthouse
#CL=cl-grandine
#CL=cl-teku
#CL=cl-lodestar

# Validator client to be used in a DV setup. Uncomment only the desired client.
VC=vc-lodestar
Expand Down Expand Up @@ -42,6 +45,10 @@ COMPOSE_FILE=compose-el.yml:compose-cl.yml:compose-vc.yml:compose-mev.yml:docker
# See available tags https://hub.docker.com/r/nethermind/nethermind/tags
#NETHERMIND_VERSION=

# Reth docker container image version.
# See available tags https://github.com/paradigmxyz/reth/pkgs/container/reth
#RETH_VERSION=

# Nethermind ancient barrier allows you to specify how many old block bodies and receipts you want to store.
#NETHERMIND_ANCIENT_BODIES_BARRIER=
#NETHERMIND_ANCIENT_RECEIPTS_BARRIER=
Expand All @@ -62,6 +69,14 @@ LIGHTHOUSE_CHECKPOINT_SYNC_URL=https://mainnet.checkpoint.sigp.io/
# See available tags https://hub.docker.com/r/sifrai/grandine/tags.
#CL_GRANDINE_VERSION=

# Teku beacon node docker container image version.
# See available tags https://hub.docker.com/r/consensys/teku/tags
#CL_TEKU_VERSION=

# Lodestar beacon node docker container image version.
# See available tags https://hub.docker.com/r/chainsafe/lodestar/tags
#CL_LODESTAR_VERSION=

######### Validator Client Config #########

# Override prometheus metrics port for validator client.
Expand Down Expand Up @@ -181,8 +196,11 @@ MEV_RELAYS=https://0xa15b52576bcbf1072f4a011c0f99f9fb6c66f3e1ff321f11f461d15e31b
# Uncomment these if you have log exporting with Promtail
# and want to disable log export on a particular container.
#EL_NETHERMIND_PROMTAIL_MONITORED=false
#EL_RETH_PROMTAIL_MONITORED=false
#CL_LIGHTHOUSE_PROMTAIL_MONITORED=false
#CL_GRANDINE_PROMTAIL_MONITORED=false
#CL_TEKU_PROMTAIL_MONITORED=false
#CL_LODESTAR_PROMTAIL_MONITORED=false
#CHARON_PROMTAIL_MONITORED=false
#VC_LODESTAR_PROMTAIL_MONITORED=false
#VC_NIMBUS_PROMTAIL_MONITORED=false
Expand Down
65 changes: 64 additions & 1 deletion compose-cl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,73 @@ services:
--metrics-address=0.0.0.0
--metrics-port=5054
--metrics-allow-origin="*"
--suggested-fee-recipient=${LIDO_EXECUTION_LAYER_REWARDS_ADDRESS:-0x388C818CA8B9251b393131C08a736A67ccB19297}
ports:
- ${CL_PORT_P2P:-9000}:9000 # P2P TCP+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:-25.7.1}
restart: unless-stopped
labels:
- "promtail-monitored=${CL_TEKU_PROMTAIL_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="*"
volumes:
- ./data/cl-teku:/opt/teku/data
- ./jwt:/jwt:ro
networks: [dvnode]

# _ _ _
# | | ___ __| | ___ ___| |_ __ _ _ __
# | |/ _ \ / _` |/ _ \/ __| __/ _` | '__|
# | | (_) | (_| | __/\__ \ || (_| | |
# |_|\___/ \__,_|\___||___/\__\__,_|_|

cl-lodestar:
profiles: [cl-lodestar]
image: chainsafe/lodestar:${VC_VERSION:-v1.33.0}
restart: unless-stopped
labels:
- "promtail-monitored=${CL_LODESTAR_PROMTAIL_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
volumes:
- ./data/cl-lodestar:/opt/lodestar/data
- ./jwt:/jwt:ro
networks: [dvnode]
35 changes: 34 additions & 1 deletion compose-el.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ services:
- "promtail-monitored=${EL_NETHERMIND_PROMTAIL_MONITORED:-true}"
command: |
--config=${NETWORK}
--datadir=data
--data-dir=/nethermind/data
--HealthChecks.Enabled=true
--JsonRpc.Enabled=true
--JsonRpc.JwtSecretFile="/root/jwt/jwt.hex"
Expand All @@ -39,3 +39,36 @@ services:
volumes:
- ./data/nethermind:/nethermind/data
- ./jwt:/root/jwt

# _ _
# _ __ ___| |_| |__
# | '__/ _ \ __| '_ \
# | | | __/ |_| | | |
# |_| \___|\__|_| |_|

el-reth:
profiles: [el-reth]
image: ghcr.io/paradigmxyz/reth:${EL_RETH_VERSION:-v1.6.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:
- "promtail-monitored=${EL_RETH_PROMTAIL_MONITORED:-true}"
command: |
node
--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
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ services:
--metrics-address=0.0.0.0
--metrics-port=5054
--metrics-allow-origin="*"
--state-cache-size=128
networks: [dvnode]
volumes:
- ./data/lighthouse:/opt/app/beacon
Expand Down