This commit is contained in:
Sebastian
2023-12-31 13:04:31 +01:00
parent f555984da3
commit cada9fa30d

View File

@@ -2,7 +2,7 @@ version: '3.1'
services:
polygon-erigon-fullnode:
image: thorax/erigon:v2.52.4
image: thorax/erigon:v2.55.1
user: root
volumes:
- "polygon-erigon-fullnode:/datadir"
@@ -16,9 +16,18 @@ services:
- "14199:14199/udp"
- "36150:36150"
- "36150:36150/udp"
- "61044:61044"
- "61044:61044/udp"
- "21827:21827"
- "21827:21827/udp"
- "14745:14745"
- "14745:14745/udp"
- "63195:63195"
- "63195:63195/udp"
- "10521:10521"
- "10521:10521/udp"
restart: unless-stopped
command: --chain=bor-mainnet --db.pagesize=16k --prune=hrtc --bor.heimdall=https://heimdall.stakesystems.io --http --http.addr=0.0.0.0 --http.port=8545 --http.compression --http.vhosts='*' --http.corsdomain='*' --http.api=eth,debug,net,web3,erigon,bor --ws --ws.compression --rpc.gascap=300000000 --metrics --metrics.addr=0.0.0.0 --metrics.port=6060 --bodies.cache=5G --rpc.batch.limit=200000 --batchSize=2048MB --port=14199 --p2p.protocol=66 --datadir=/datadir --ethash.dagdir=/datadir/ethash --rpc.returndata.limit=1100000 --db.size.limit 7697000000000 --torrent.port=36150
command: --chain=bor-mainnet --nat=stun --bor.heimdall=https://heimdall.stakesystems.io --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 --rpc.gascap=300000000 --metrics --metrics.addr=0.0.0.0 --metrics.port=6060 --bodies.cache=5G --rpc.batch.limit=200000 --db.pagesize=16k --batchSize=2048MB --port=61044 --p2p.protocol=66 --p2p.protocol 67 --p2p.protocol 68 --p2p.allowed-ports 63195 --p2p.allowed-ports 14745 --p2p.allowed-ports 21827 --datadir=/datadir --ethash.dagdir=/datadir/ethash --rpc.returndata.limit=1100000 --db.size.limit=12t --snapshots=true --downloader.verify --torrent.port 10521 --torrent.download.rate 1000mb --torrent.upload.rate 10mb --prune.h.older=128 --prune.r.older=128 --prune.t.older=128 --prune.c.older=128
stop_grace_period: 1m
labels:
- "prometheus-scrape.enabled=true"