Skip to content

Commit 2fdae16

Browse files
authored
chore: add Hoodi to docker compose files, fix checkpoint sync URLs (#16653)
1 parent c5114b6 commit 2fdae16

File tree

2 files changed

+22
-21
lines changed

2 files changed

+22
-21
lines changed

etc/docker-compose.yml

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,23 @@
1-
name: 'reth'
1+
name: reth
22

33
services:
44
reth:
55
restart: unless-stopped
66
image: ghcr.io/paradigmxyz/reth
77
ports:
8-
- '9001:9001' # metrics
9-
- '30303:30303' # eth/66 peering
10-
- '8545:8545' # rpc
11-
- '8551:8551' # engine
8+
- "9001:9001" # metrics
9+
- "30303:30303" # eth/66 peering
10+
- "8545:8545" # rpc
11+
- "8551:8551" # engine
1212
volumes:
13-
- mainnet_data:/root/.local/share/reth/mainnet
14-
- sepolia_data:/root/.local/share/reth/sepolia
15-
- holesky_data:/root/.local/share/reth/holesky
13+
- reth_data:/root/.local/share/reth
1614
- logs:/root/logs
1715
- ./jwttoken:/root/jwt/:ro
1816
# https://paradigmxyz.github.io/reth/run/troubleshooting.html#concurrent-database-access-error-using-containersdocker
1917
pid: host
2018
# For Sepolia, replace `--chain mainnet` with `--chain sepolia`
2119
# For Holesky, replace `--chain mainnet` with `--chain holesky`
20+
# For Hoodi, replace `--chain mainnet` with `--chain hoodi`
2221
command: >
2322
node
2423
--chain mainnet
@@ -39,7 +38,7 @@ services:
3938
- 9090:9090
4039
volumes:
4140
- ./prometheus/:/etc/prometheus/
42-
- prometheusdata:/prometheus
41+
- prometheus_data:/prometheus
4342
command:
4443
- --config.file=/etc/prometheus/prometheus.yml
4544
- --storage.tsdb.path=/prometheus
@@ -55,7 +54,7 @@ services:
5554
environment:
5655
PROMETHEUS_URL: ${PROMETHEUS_URL:-http://prometheus:9090}
5756
volumes:
58-
- grafanadata:/var/lib/grafana
57+
- grafana_data:/var/lib/grafana
5958
- ./grafana/datasources:/etc/grafana/provisioning/datasources
6059
- ./grafana/dashboards:/etc/grafana/provisioning_temp/dashboards
6160
# 1. Copy dashboards from temp directory to prevent modifying original host files
@@ -67,15 +66,11 @@ services:
6766
/run.sh"
6867
6968
volumes:
70-
mainnet_data:
71-
driver: local
72-
sepolia_data:
73-
driver: local
74-
holesky_data:
69+
reth_data:
7570
driver: local
7671
logs:
7772
driver: local
78-
prometheusdata:
73+
prometheus_data:
7974
driver: local
80-
grafanadata:
75+
grafana_data:
8176
driver: local

etc/lighthouse.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
version: "3.9"
21
name: reth
2+
33
services:
44
lighthouse:
55
restart: unless-stopped
@@ -13,11 +13,17 @@ services:
1313
- "9000:9000/tcp" # p2p
1414
- "9000:9000/udp" # p2p
1515
volumes:
16-
- lighthousedata:/root/.lighthouse
16+
- lighthouse_data:/root/.lighthouse
1717
- ./jwttoken:/root/jwt:ro
1818
# For Sepolia:
1919
# - Replace `--network mainnet` with `--network sepolia`
20-
# - Use different checkpoint sync URL: `--checkpoint-sync-url https://sepolia.checkpoint-sync.ethpandaops.io`
20+
# - Use different checkpoint sync URL: `--checkpoint-sync-url https://checkpoint-sync.sepolia.ethpandaops.io`
21+
# For Holesky:
22+
# - Replace `--network mainnet` with `--network holesky`
23+
# - Use different checkpoint sync URL: `--checkpoint-sync-url https://checkpoint-sync.holesky.ethpandaops.io`
24+
# For Hoodi:
25+
# - Replace `--network mainnet` with `--network hoodi`
26+
# - Use different checkpoint sync URL: `--checkpoint-sync-url https://checkpoint-sync.hoodi.ethpandaops.io`
2127
command: >
2228
lighthouse bn
2329
--network mainnet
@@ -43,5 +49,5 @@ services:
4349
- --metrics-port=9091
4450

4551
volumes:
46-
lighthousedata:
52+
lighthouse_data:
4753
driver: local

0 commit comments

Comments
 (0)