diff --git a/erigon-fullnode.yml b/erigon-fullnode.yml index 5c820d62..d1916ff6 100644 --- a/erigon-fullnode.yml +++ b/erigon-fullnode.yml @@ -3,6 +3,7 @@ version: '3.1' services: erigon-mainnet-fullnode: image: thorax/erigon:v2.57.3 + user: root expose: - "16630" - "9090" @@ -12,7 +13,8 @@ services: - "44081:44081" - "44081:44081/udp" volumes: - - erigon-mainnet-fullnode:/home/erigon/.local/share/erigon + - erigon-mainnet-fullnode:/root/.local/share/erigon + - /slowdisk:/slowdisk - .jwtsecret:/jwtsecret networks: - chains @@ -28,7 +30,6 @@ services: --torrent.upload.rate="1250mb" --torrent.download.rate="1250mb" --nat=stun - --downloader.verify --pprof --pprof.addr=0.0.0.0 --pprof.port=6061 diff --git a/erigon-polygon-mumbai-fullnode.yml b/erigon-polygon-mumbai-fullnode.yml index 64847616..e4213dab 100644 --- a/erigon-polygon-mumbai-fullnode.yml +++ b/erigon-polygon-mumbai-fullnode.yml @@ -6,6 +6,7 @@ services: user: root volumes: - "polygon-mumbai-erigon-fullnode:/datadir" + - "/slowdisk:/slowdisk" expose: - 32011 - 30248 @@ -16,7 +17,7 @@ services: - "32011:32011" - "32011:32011/udp" restart: unless-stopped - command: --chain=mumbai --db.pagesize=16k --prune=hrtc --bor.heimdall=https://heimdall-api-testnet.polygon.technology --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=30248 --p2p.protocol=66 --datadir=/datadir --ethash.dagdir=/datadir/ethash --rpc.returndata.limit=1100000 --db.size.limit 7697000000000 --torrent.port=32011 --downloader.verify --nat=stun + command: --chain=mumbai --db.pagesize=16k --prune=hrtc --bor.heimdall=https://heimdall-api-testnet.polygon.technology --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=30248 --p2p.protocol=66 --datadir=/datadir --ethash.dagdir=/datadir/ethash --rpc.returndata.limit=1100000 --db.size.limit 7697000000000 --torrent.port=32011 --nat=stun stop_grace_period: 1m labels: diff --git a/polygon-erigon-fullnode.yml b/polygon-erigon-fullnode.yml index e624cabd..72678ccf 100644 --- a/polygon-erigon-fullnode.yml +++ b/polygon-erigon-fullnode.yml @@ -27,7 +27,7 @@ services: - "10521:10521" - "10521:10521/udp" restart: unless-stopped - 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 + 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 --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"