Files
reth/etc/lighthouse.yml

54 lines
1.6 KiB
YAML

name: reth
services:
lighthouse:
restart: unless-stopped
image: sigp/lighthouse:v8.0.1
depends_on:
- reth
ports:
- "5052:5052/tcp" # rpc
- "5053:5053/tcp"
- "5054:5054/tcp" # metrics
- "9000:9000/tcp" # p2p
- "9000:9000/udp" # p2p
volumes:
- 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://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
--http --http-address 0.0.0.0
--execution-endpoint http://reth:8551
--metrics --metrics-address 0.0.0.0
--execution-jwt /root/jwt/jwt.hex
--checkpoint-sync-url https://sync-mainnet.beaconcha.in
--checkpoint-sync-url-timeout=300
metrics-exporter:
restart: unless-stopped
image: ethpandaops/ethereum-metrics-exporter:debian-latest
depends_on:
- reth
- lighthouse
ports:
- 9091:9091 # metrics
volumes:
- ./ethereum-metrics-exporter/config.yaml:/root/config.yaml
command:
- --config=/root/config.yaml
- --metrics-port=9091
volumes:
lighthouse_data:
driver: local