point lighthouse to the right network

This commit is contained in:
Sebastian
2022-12-09 18:07:17 +01:00
parent 14fbeb86ee
commit 6bd35eae88

View File

@@ -56,12 +56,12 @@ services:
networks: networks:
- chains - chains
ports: ports:
- 46763:46763/tcp # p2p - 20506:20506/tcp # p2p
- 46763:46763/udp # p2p - 20506:20506/udp # p2p
expose: expose:
- 5054 # metrics - 5054 # metrics
- 4000 # http - 4000 # http
- 46763 # p2p - 20506 # p2p
volumes: volumes:
- mainnet_consensus:/data - mainnet_consensus:/data
- .jwtsecret:/jwt.hex - .jwtsecret:/jwt.hex
@@ -70,10 +70,10 @@ services:
command: | command: |
lighthouse lighthouse
beacon_node beacon_node
--network=gnosis --network=mainnet
--disable-upnp --disable-upnp
--datadir=/data --datadir=/data
--port=46763 --port=20506
--http --http
--http-address=0.0.0.0 --http-address=0.0.0.0
--http-port=4000 --http-port=4000
@@ -91,10 +91,10 @@ services:
labels: labels:
- "prometheus-scrape.enabled=true" - "prometheus-scrape.enabled=true"
- "prometheus-scrape.port=5054" - "prometheus-scrape.port=5054"
- "prometheus-scrape.job_name=lighthouse-gnosis" - "prometheus-scrape.job_name=lighthouse-mainnet"
- "prometheus-scrape.metrics_path=/metrics" - "prometheus-scrape.metrics_path=/metrics"
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.middlewares.lighthouse-gnosis-stripprefix.stripprefix.prefixes=/lighthouse-mainnet" - "traefik.http.middlewares.lighthouse-mainnet-stripprefix.stripprefix.prefixes=/lighthouse-mainnet"
- "traefik.http.services.lighthouse-mainnet.loadbalancer.server.port=4000" - "traefik.http.services.lighthouse-mainnet.loadbalancer.server.port=4000"
- "traefik.http.routers.lighthouse-mainnet.entrypoints=websecure" - "traefik.http.routers.lighthouse-mainnet.entrypoints=websecure"
- "traefik.http.routers.lighthouse-mainnet.tls.certresolver=myresolver" - "traefik.http.routers.lighthouse-mainnet.tls.certresolver=myresolver"