From f7126a4620df469f49c59e8a54e23f2c10c074d6 Mon Sep 17 00:00:00 2001 From: Sebastian <379651+czarly@users.noreply.github.com> Date: Sat, 10 Dec 2022 17:47:22 +0100 Subject: [PATCH] try new erigon verison for bor --- erigon-polygon-mainline.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 erigon-polygon-mainline.yml diff --git a/erigon-polygon-mainline.yml b/erigon-polygon-mainline.yml new file mode 100644 index 00000000..f2c50afd --- /dev/null +++ b/erigon-polygon-mainline.yml @@ -0,0 +1,31 @@ +version: '3.1' + +services: + erigon-polygon: + image: thorax/erigon:v2.31.0 + environment: + - SNAPSHOT_URL=https://matic-blockchain-snapshots.s3-accelerate.amazonaws.com/matic-mainnet/erigon-archive-snapshot-2022-12-06.tar.gz + - BOOTSTRAP=1 + - HEIMDALL_RPC=https://heimdall.stakesystems.io + volumes: + - "polygon-archive_data:/datadir" + ports: + - "40303:40303" + - "40303:40303/udp" + depends_on: + - heimdallr + restart: unless-stopped + stop_grace_period: 1m + labels: + - "traefik.enable=true" + - "traefik.http.middlewares.erigon-polygon-stripprefix.stripprefix.prefixes=/polygon-archive" + - "traefik.http.services.erigon-polygon.loadbalancer.server.port=8545" + - "traefik.http.routers.erigon-polygon.entrypoints=websecure" + - "traefik.http.routers.erigon-polygon.tls.certresolver=myresolver" + - "traefik.http.routers.erigon-polygon.rule=Host(`$DOMAIN`) && PathPrefix(`/polygon-archive`)" + - "traefik.http.routers.erigon-polygon.middlewares=erigon-polygon-stripprefix, ipwhitelist" + networks: + - chains + +volumes: + polygon-archive_data: