connect lighthouse

This commit is contained in:
cventastic
2022-08-26 15:11:08 +02:00
parent ea12105a03
commit 0ccb87cb94

View File

@@ -9,6 +9,7 @@ services:
- "9090" - "9090"
volumes: volumes:
- erigon-trace:/home/erigon/.local/share/erigon - erigon-trace:/home/erigon/.local/share/erigon
- .jwtsecret:/jwtsecret
networks: networks:
- chains - chains
command: > command: >
@@ -18,6 +19,9 @@ services:
--pprof --pprof
--pprof.addr=0.0.0.0 --pprof.addr=0.0.0.0
--pprof.port=6061 --pprof.port=6061
--authrpc.addr=0.0.0.0
--authrpc.vhosts=*
--authrpc.jwtsecret=/jwtsecret
restart: unless-stopped restart: unless-stopped
rpcdaemon: rpcdaemon:
@@ -50,5 +54,21 @@ services:
- "traefik.http.routers.rpcdaemon.rule=Host(`$DOMAIN`) && PathPrefix(`/erigon`)" - "traefik.http.routers.rpcdaemon.rule=Host(`$DOMAIN`) && PathPrefix(`/erigon`)"
- "traefik.http.routers.rpcdaemon.middlewares=rpcdaemon-stripprefix, ipwhitelist" - "traefik.http.routers.rpcdaemon.middlewares=rpcdaemon-stripprefix, ipwhitelist"
lighthouse:
image: sigp/lighthouse:latest-modern
ports:
- "9000:9000"
- "127.0.0.1:5052:5052"
volumes:
- .jwtsecret:/jwtsecret
command: >
lighthouse beacon_node
--eth1-endpoints http://erigon-trace:8545
--execution-endpoint http://erigon-trace:8551
--execution-jwt /jwtsecret"
networks:
- chains
volumes: volumes:
erigon-trace: erigon-trace:
lighthouse_data: