added flags to erigon in entrypoint.sh

rename volume in erigon-polygon.yml
This commit is contained in:
cventastic
2022-10-19 14:16:05 +02:00
parent aab7c74474
commit 5e3263dec3
2 changed files with 5 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ services:
- SNAPSHOT_URL=https://matic-blockchain-snapshots.s3-accelerate.amazonaws.com/matic-mainnet/erigon-archive-snapshot-2022-10-12.tar.gz
- BOOTSTRAP=1
volumes:
- "bor-archive_data:/datadir"
- "polygon-archive_data:/datadir"
ports:
- "40303:40303"
- "40303:40303/udp"
@@ -31,4 +31,4 @@ services:
- chains
volumes:
bor-archive_data:
polygon-archive_data:

View File

@@ -28,6 +28,9 @@ exec erigon \
--chain=bor-mainnet \
--bor.heimdall=http://heimdallr:1317 \
--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" \
--metrics --metrics.addr=0.0.0.0 --metrics.port=6060 \
--pprof --pprof.addr=0.0.0.0 --pprof.port=6061