Skip to content

Commit

Permalink
chore: mention Sepolia changes in Docker Compose files (paradigmxyz#4391
Browse files Browse the repository at this point in the history
)
  • Loading branch information
shekhirin authored Aug 29, 2023
1 parent 4057953 commit 5556505
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
9 changes: 7 additions & 2 deletions etc/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,14 @@ services:
- '8545:8545' # rpc
- '8551:8551' # engine
volumes:
- rethdata:/root/.local/share/reth/mainnet/db
- rethdata_mainnet:/root/.local/share/reth/mainnet/db
- rethdata_sepolia:/root/.local/share/reth/sepolia/db
- rethlogs:/root/rethlogs
- ./jwttoken:/root/jwt:ro
# For Sepolia, replace `--chain mainnet` with `--chain sepolia`
command: >
node
--chain mainnet
--metrics 0.0.0.0:9001
--log.persistent
--log.directory /root/rethlogs
Expand Down Expand Up @@ -62,7 +65,9 @@ services:
/run.sh"
volumes:
rethdata:
rethdata_mainnet:
driver: local
rethdata_sepolia:
driver: local
rethlogs:
driver: local
Expand Down
5 changes: 4 additions & 1 deletion etc/lighthouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ version: '3.9'
name: reth

services:

lighthouse:
restart: unless-stopped
image: sigp/lighthouse
Expand All @@ -17,8 +16,12 @@ services:
volumes:
- lighthousedata:/root/.lighthouse
- ./jwttoken:/root/jwt:ro
# For Sepolia:
# - Replace `--network mainnet` with `--network sepolia`
# - Use different checkpoint sync URL: `--checkpoint-sync-url https://sepolia.checkpoint-sync.ethpandaops.io`
command: >
lighthouse bn
--network mainnet
--http --http-address 0.0.0.0
--execution-endpoint http://reth:8551
--metrics --metrics-address 0.0.0.0
Expand Down

0 comments on commit 5556505

Please sign in to comment.