Skip to content

Commit

Permalink
feat: add node_configs for erigon, reth and lighthouse
Browse files Browse the repository at this point in the history
  • Loading branch information
crebsy committed Jul 15, 2024
1 parent d33ee45 commit 4e92c26
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
version: "3.7"

networks:
default:
name: moonsnap_default

services:
erigon:
image: thorax/erigon:12c2732ad92733a6a6aae9db7259062182799674
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
--prune=hrtc
--externalcl
user: 1001:1001
ports:
- "8545:8545"
volumes:
- /data/erigon:/data
restart: always
23 changes: 23 additions & 0 deletions node_configs/lighthouse/v5.2.1/docker-compose-full.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
version: "3.7"

networks:
default:
name: moonsnap_default

services:
lighthouse:
image: sigp/lighthouse:v5.2.1
command: |
lighthouse beacon_node
--checkpoint-sync-url=https://beaconstate.info
--debug-level=info
--execution-endpoint=http://<EXECUTION_URL>:8551
--execution-jwt=/root/.lighthouse/jwt.hex
--http
--http-address=0.0.0.0
ports:
- "5052:5052"
volumes:
- /data/lighthouse:/root/.lighthouse
- /data/jwt.hex:/root/.lighthouse/jwt.hex
restart: always
22 changes: 22 additions & 0 deletions node_configs/reth/1.0.1/docker-compose-full.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
version: "3.7"

networks:
default:
name: moonsnap_default

services:
reth:
image: ghcr.io/paradigmxyz/reth:v1.0.1
command: |
node
--full
--authrpc.addr 0.0.0.0
--http"
--http.addr 0.0.0.0
--http.api all
--http.corsdomain *
ports:
- "8545:8545"
volumes:
- /data/reth:/root/.local/share/reth
restart: always

0 comments on commit 4e92c26

Please sign in to comment.