mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: mount all datadirs in docker-compose.yml (#7088)
This commit is contained in:
@ -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
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user