update the polygon erigon setup to be able to use public rpcs and the new official supported version

This commit is contained in:
Sebastian
2022-12-18 12:02:30 +01:00
parent f0ee4c3038
commit d5313803dd
3 changed files with 35 additions and 14 deletions

View File

@@ -4,19 +4,19 @@ services:
erigon-polygon:
build:
args:
ERIGON_VERSION: v0.0.3
ERIGON_VERSION: v0.0.4
context: ./polygon/erigon
dockerfile: Dockerfile
environment:
- SNAPSHOT_URL=https://matic-blockchain-snapshots.s3-accelerate.amazonaws.com/matic-mainnet/erigon-archive-snapshot-2022-11-17.tar.gz
- SNAPSHOT_URL=https://matic-blockchain-snapshots.s3-accelerate.amazonaws.com/matic-mainnet/erigon-archive-snapshot-2022-12-13.tar.gz
- BOOTSTRAP=1
- HEIMDALLD=${HEIMDALLD:-http://heimdalld:26657}
- HEIMDALLR=${HEIMDALLR:-http://heimdallr:1317}
volumes:
- "polygon-archive_data:/datadir"
ports:
- "40303:40303"
- "40303:40303/udp"
depends_on:
- heimdallr
- "27113:27113"
- "27113:27113/udp"
restart: unless-stopped
stop_grace_period: 1m
labels: