Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: mount all datadirs in docker-compose.yml #7088

Merged
merged 2 commits into from
Mar 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 11 additions & 7 deletions etc/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,18 @@ services:
- '8545:8545' # rpc
- '8551:8551' # engine
volumes:
- rethdata_mainnet:/root/.local/share/reth/mainnet/db
- rethdata_sepolia:/root/.local/share/reth/sepolia/db
- rethlogs:/root/rethlogs
- mainnet_data:/root/.local/share/reth/mainnet
- sepolia_data:/root/.local/share/reth/sepolia
- holesky_data:/root/.local/share/reth/holesky
- logs:/root/logs
- ./jwttoken:/root/jwt:ro
# For Sepolia, replace `--chain mainnet` with `--chain sepolia`
# For Holesky, replace `--chain mainnet` with `--chain holesky`
command: >
node
--chain mainnet
--metrics 0.0.0.0:9001
--log.file.directory /root/rethlogs
--log.file.directory /root/logs
--authrpc.addr 0.0.0.0
--authrpc.port 8551
--authrpc.jwtsecret /root/jwt/jwt.hex
Expand Down Expand Up @@ -64,11 +66,13 @@ services:
/run.sh"

volumes:
rethdata_mainnet:
mainnet_data:
driver: local
rethdata_sepolia:
sepolia_data:
driver: local
rethlogs:
holesky_data:
driver: local
logs:
driver: local
prometheusdata:
driver: local
Expand Down
Loading