chore: add Hoodi to docker compose files, fix checkpoint sync URLs (#16653)

This commit is contained in:
Alexey Shekhirin
2025-06-04 13:32:02 +01:00
committed by GitHub
parent c5114b676f
commit 2fdae16d5f
2 changed files with 22 additions and 21 deletions

View File

@@ -1,24 +1,23 @@
name: 'reth'
name: reth
services:
reth:
restart: unless-stopped
image: ghcr.io/paradigmxyz/reth
ports:
- '9001:9001' # metrics
- '30303:30303' # eth/66 peering
- '8545:8545' # rpc
- '8551:8551' # engine
- "9001:9001" # metrics
- "30303:30303" # eth/66 peering
- "8545:8545" # rpc
- "8551:8551" # engine
volumes:
- mainnet_data:/root/.local/share/reth/mainnet
- sepolia_data:/root/.local/share/reth/sepolia
- holesky_data:/root/.local/share/reth/holesky
- reth_data:/root/.local/share/reth
- logs:/root/logs
- ./jwttoken:/root/jwt/:ro
# https://paradigmxyz.github.io/reth/run/troubleshooting.html#concurrent-database-access-error-using-containersdocker
pid: host
# For Sepolia, replace `--chain mainnet` with `--chain sepolia`
# For Holesky, replace `--chain mainnet` with `--chain holesky`
# For Hoodi, replace `--chain mainnet` with `--chain hoodi`
command: >
node
--chain mainnet
@@ -39,7 +38,7 @@ services:
- 9090:9090
volumes:
- ./prometheus/:/etc/prometheus/
- prometheusdata:/prometheus
- prometheus_data:/prometheus
command:
- --config.file=/etc/prometheus/prometheus.yml
- --storage.tsdb.path=/prometheus
@@ -55,7 +54,7 @@ services:
environment:
PROMETHEUS_URL: ${PROMETHEUS_URL:-http://prometheus:9090}
volumes:
- grafanadata:/var/lib/grafana
- grafana_data:/var/lib/grafana
- ./grafana/datasources:/etc/grafana/provisioning/datasources
- ./grafana/dashboards:/etc/grafana/provisioning_temp/dashboards
# 1. Copy dashboards from temp directory to prevent modifying original host files
@@ -67,15 +66,11 @@ services:
/run.sh"
volumes:
mainnet_data:
driver: local
sepolia_data:
driver: local
holesky_data:
reth_data:
driver: local
logs:
driver: local
prometheusdata:
prometheus_data:
driver: local
grafanadata:
grafana_data:
driver: local

View File

@@ -1,5 +1,5 @@
version: "3.9"
name: reth
services:
lighthouse:
restart: unless-stopped
@@ -13,11 +13,17 @@ services:
- "9000:9000/tcp" # p2p
- "9000:9000/udp" # p2p
volumes:
- lighthousedata:/root/.lighthouse
- lighthouse_data:/root/.lighthouse
- ./jwttoken:/root/jwt:ro
# For Sepolia:
# - Replace `--network mainnet` with `--network sepolia`
# - Use different checkpoint sync URL: `--checkpoint-sync-url https://sepolia.checkpoint-sync.ethpandaops.io`
# - Use different checkpoint sync URL: `--checkpoint-sync-url https://checkpoint-sync.sepolia.ethpandaops.io`
# For Holesky:
# - Replace `--network mainnet` with `--network holesky`
# - Use different checkpoint sync URL: `--checkpoint-sync-url https://checkpoint-sync.holesky.ethpandaops.io`
# For Hoodi:
# - Replace `--network mainnet` with `--network hoodi`
# - Use different checkpoint sync URL: `--checkpoint-sync-url https://checkpoint-sync.hoodi.ethpandaops.io`
command: >
lighthouse bn
--network mainnet
@@ -43,5 +49,5 @@ services:
- --metrics-port=9091
volumes:
lighthousedata:
lighthouse_data:
driver: local