mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat: add ethereum-metrics-exporter (#3573)
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
e7cedee411
commit
64ca521458
44
etc/lighthouse.yml
Normal file
44
etc/lighthouse.yml
Normal file
@ -0,0 +1,44 @@
|
||||
version: '3.9'
|
||||
name: reth
|
||||
|
||||
services:
|
||||
|
||||
lighthouse:
|
||||
restart: unless-stopped
|
||||
image: sigp/lighthouse
|
||||
depends_on:
|
||||
- reth
|
||||
ports:
|
||||
- '5052:5052/tcp' # rpc
|
||||
- '5053:5053/tcp'
|
||||
- '5054:5054/tcp' # metrics
|
||||
- '9000:9000/tcp' # p2p
|
||||
- '9000:9000/udp' # p2p
|
||||
volumes:
|
||||
- lighthousedata:/root/.lighthouse
|
||||
- ./jwttoken:/root/jwt:ro
|
||||
command: >
|
||||
lighthouse bn
|
||||
--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://mainnet.checkpoint.sigp.io
|
||||
|
||||
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:
|
||||
lighthousedata:
|
||||
driver: local
|
||||
Reference in New Issue
Block a user