Skip to content

Commit

Permalink
chore: mount all datadirs in docker-compose.yml (#7088)
Browse files Browse the repository at this point in the history
  • Loading branch information
shekhirin authored Mar 10, 2024
1 parent 4943619 commit 8e5c943
Showing 1 changed file with 11 additions and 7 deletions.
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

0 comments on commit 8e5c943

Please sign in to comment.