added beaconchain api and traefik to lighthouse

This commit is contained in:
cventastic
2022-09-05 10:16:58 +02:00
parent fabe1aa013
commit ae3dc849e4
2 changed files with 11 additions and 1 deletions

View File

@@ -66,8 +66,18 @@ services:
--eth1-endpoints http://erigon-trace:8545 --eth1-endpoints http://erigon-trace:8545
--execution-endpoint http://erigon-trace:8551 --execution-endpoint http://erigon-trace:8551
--execution-jwt /jwtsecret --execution-jwt /jwtsecret
--http
--http-address=*
networks: networks:
- chains - chains
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.lighthouse-stripprefix.stripprefix.prefixes=/lighthouse"
- "traefik.http.services.lighthouse.loadbalancer.server.port=8545"
- "traefik.http.routers.lighthouse.entrypoints=websecure"
- "traefik.http.routers.lighthouse.tls.certresolver=myresolver"
- "traefik.http.routers.lighthouse.rule=Host(`$DOMAIN`) && PathPrefix(`/lighthouse`)"
- "traefik.http.routers.lighthouse.middlewares=lighthouse-stripprefix, ipwhitelist"
volumes: volumes:
erigon-trace: erigon-trace: