added flags to erigon in entrypoint.sh
rename volume in erigon-polygon.yml
This commit is contained in:
@@ -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
|
- SNAPSHOT_URL=https://matic-blockchain-snapshots.s3-accelerate.amazonaws.com/matic-mainnet/erigon-archive-snapshot-2022-10-12.tar.gz
|
||||||
- BOOTSTRAP=1
|
- BOOTSTRAP=1
|
||||||
volumes:
|
volumes:
|
||||||
- "bor-archive_data:/datadir"
|
- "polygon-archive_data:/datadir"
|
||||||
ports:
|
ports:
|
||||||
- "40303:40303"
|
- "40303:40303"
|
||||||
- "40303:40303/udp"
|
- "40303:40303/udp"
|
||||||
@@ -31,4 +31,4 @@ services:
|
|||||||
- chains
|
- chains
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
bor-archive_data:
|
polygon-archive_data:
|
||||||
|
|||||||
@@ -28,6 +28,9 @@ exec erigon \
|
|||||||
--chain=bor-mainnet \
|
--chain=bor-mainnet \
|
||||||
--bor.heimdall=http://heimdallr:1317 \
|
--bor.heimdall=http://heimdallr:1317 \
|
||||||
--datadir=${ERIGON_HOME} \
|
--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 \
|
--snap.keepblocks=true \
|
||||||
|
--snapshots="true" \
|
||||||
--metrics --metrics.addr=0.0.0.0 --metrics.port=6060 \
|
--metrics --metrics.addr=0.0.0.0 --metrics.port=6060 \
|
||||||
--pprof --pprof.addr=0.0.0.0 --pprof.port=6061
|
--pprof --pprof.addr=0.0.0.0 --pprof.port=6061
|
||||||
Reference in New Issue
Block a user