correct startup command
This commit is contained in:
@@ -3,16 +3,24 @@ version: '3.1'
|
|||||||
services:
|
services:
|
||||||
erigon-polygon:
|
erigon-polygon:
|
||||||
image: thorax/erigon:v2.31.0
|
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:
|
volumes:
|
||||||
- "polygon-archive_data:/datadir"
|
- "polygon-archive_data:/datadir"
|
||||||
ports:
|
ports:
|
||||||
- "40303:40303"
|
- "40303:40303"
|
||||||
- "40303:40303/udp"
|
- "40303:40303/udp"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
command: >
|
||||||
|
erigon
|
||||||
|
--chain=bor-mainnet \
|
||||||
|
--bor.heimdall=https://heimdall.stakesystems.io \
|
||||||
|
--datadir=${ERIGON_HOME} \
|
||||||
|
--http --http.addr="0.0.0.0" --http.port="8545" --http.compression --http.vhosts="*" --http.corsdomain="*" --http.api="eth,debug,net,trace,web3,erigon,bor" \
|
||||||
|
--ws --ws.compression \
|
||||||
|
--snap.keepblocks=true \
|
||||||
|
--snapshots="true" \
|
||||||
|
--torrent.upload.rate="1250mb" --torrent.download.rate="1250mb" \
|
||||||
|
--metrics --metrics.addr=0.0.0.0 --metrics.port=6060 \
|
||||||
|
--pprof --pprof.addr=0.0.0.0 --pprof.port=6061
|
||||||
stop_grace_period: 1m
|
stop_grace_period: 1m
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
|
|||||||
Reference in New Issue
Block a user