1- name : ' reth'
1+ name : reth
22
33services :
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
6968volumes :
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
0 commit comments