Skip to content

Commit

Permalink
feat: add node configs for erigon and reth archive nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
crebsy committed Aug 1, 2024
1 parent f44a453 commit 343e822
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
version: "3.7"

networks:
default:
name: moonsnap_default

services:
erigon:
image: thorax/erigon:7931ce92ccbe1be5c16c183962cdbaa916aaeb14
command: |
--chain=mainnet
--datadir=/data
--http
--http.addr=0.0.0.0
--http.vhosts=*
--http.api=eth,erigon,engine,web3,net,trace,txpool,debug,ots,overlay
--authrpc.addr=0.0.0.0
--authrpc.vhosts=*
--maxpeers=20
--torrent.download.rate=300mb
--db.read.concurrency=1024
--externalcl
--sync.loop.block.limit=10_000
--batchSize=2g
user: 1001:1001
ports:
- "8545:8545"
volumes:
- /data/erigon:/data
restart: always
24 changes: 24 additions & 0 deletions node_configs/reth/1.0.3/docker-compose-archive.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
version: "3.7"

networks:
default:
name: moonsnap_default

services:
reth:
image: ghcr.io/paradigmxyz/reth:v1.0.3
command: |
node
--authrpc.addr 0.0.0.0
--http
--http.addr 0.0.0.0
--http.api all
--http.corsdomain *
--rpc.max-blocks-per-filter 0
--rpc.max-logs-per-response 0
--rpc.eth-proof-window 216000
ports:
- "8545:8545"
volumes:
- /data/reth:/root/.local/share/reth
restart: always

0 comments on commit 343e822

Please sign in to comment.