chore: mention Sepolia changes in Docker Compose files (#4391)

This commit is contained in:
Alexey Shekhirin
2023-08-29 18:17:45 +01:00
committed by GitHub
parent 405795301e
commit 5556505e35
2 changed files with 11 additions and 3 deletions

View File

@ -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
@ -62,7 +65,9 @@ services:
/run.sh"
volumes:
rethdata:
rethdata_mainnet:
driver: local
rethdata_sepolia:
driver: local
rethlogs:
driver: local

View File

@ -2,7 +2,6 @@ version: '3.9'
name: reth
services:
lighthouse:
restart: unless-stopped
image: sigp/lighthouse
@ -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