da sweet snapshots

This commit is contained in:
Sebastian
2024-01-28 04:07:35 +01:00
parent dd644e0910
commit e84fa6b643

View File

@@ -1,8 +1,8 @@
version: '3.1' version: '3.1'
services: services:
erigon-mainnet: erigon-mainnet-fullnode:
image: thorax/erigon:v2.48.1 image: thorax/erigon:v2.57.1
expose: expose:
- "16630" - "16630"
- "9090" - "9090"
@@ -52,36 +52,35 @@ services:
- "traefik.http.routers.erigon-mainnet-fullnode.rule=Host(`$DOMAIN`) && PathPrefix(`/erigon-fullnode`)" - "traefik.http.routers.erigon-mainnet-fullnode.rule=Host(`$DOMAIN`) && PathPrefix(`/erigon-fullnode`)"
- "traefik.http.routers.erigon-mainnet-fullnode.middlewares=erigon-mainnet-fullnode-stripprefix, ipwhitelist" - "traefik.http.routers.erigon-mainnet-fullnode.middlewares=erigon-mainnet-fullnode-stripprefix, ipwhitelist"
lighthouse-mainnet-fullnode: prysm-mainnet-erigon-fullnode:
image: sigp/lighthouse:v4.0.1-modern image: prysmaticlabs/prysm-beacon-chain:stable
ports: ports:
- "57462:57462" #- "127.0.0.1:3500:3500"
- "57462:57462/udp" - "36997:36997"
volumes: - "36997:36997/udp"
- .jwtsecret:/jwtsecret command:
- lighthouse-mainnet-fullnode_data:/root/.lighthouse [
command: > "--datadir=/data",
lighthouse beacon_node "--mainnet",
--eth1-endpoints http://erigon-mainnet-fullnode:8545 "--jwt-secret=/jwtsecret",
--execution-endpoint http://erigon-mainnet-fullnode:8551 "--rpc-host=0.0.0.0",
--execution-jwt /jwtsecret "--grpc-gateway-host=0.0.0.0",
--checkpoint-sync-url https://sync.invis.tools "--monitoring-host=0.0.0.0",
--http "--p2p-tcp-port=36997",
--http-address 0.0.0.0 "--p2p-udp-port=36997",
--port 57462 "--checkpoint-sync-url=https://mainnet-checkpoint-sync.stakely.io",
restart: unless-stopped "--execution-endpoint=http://mainnet-erigon-fullnode:8551",
stop_grace_period: 1m "--accept-terms-of-use"
]
networks: networks:
- chains - chains
labels: volumes:
- "traefik.enable=true" - "prysm-mainnet-erigon-fullnode:/data"
- "traefik.http.middlewares.lighthouse-mainnet-fullnode-stripprefix.stripprefix.prefixes=/lighthouse-mainnet-fullnode" - ".jwtsecret:/jwtsecret"
- "traefik.http.services.lighthouse-mainnet-fullnode.loadbalancer.server.port=5052" restart: unless-stopped
- "traefik.http.routers.lighthouse-mainnet-fullnode.entrypoints=websecure" stop_grace_period: 1m
- "traefik.http.routers.lighthouse-mainnet-fullnode.tls.certresolver=myresolver"
- "traefik.http.routers.lighthouse-mainnet-fullnode.rule=Host(`$DOMAIN`) && PathPrefix(`/lighthouse-mainnet-fullnode`)"
- "traefik.http.routers.lighthouse-mainnet-fullnode.middlewares=lighthouse-mainnet-fullnode-stripprefix, ipwhitelist"
volumes: volumes:
erigon-mainnet-fullnode: erigon-mainnet-fullnode:
lighthouse-mainnet-fullnode_data: prysm-mainnet-erigon-fullnode: