Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
compose: update volume mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
islishude committed Dec 5, 2023
1 parent 3459f57 commit 8b670e4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions docker-compose/goerli/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ services:
- 8545:8545
- 8546:8546
volumes:
- ./data/geth:/data
- ${GETH_DATADIR:-/data/geth}:/data
stop_grace_period: 2m
healthcheck:
test: ["CMD-SHELL", "geth attach --datadir /data --exec eth.blockNumber"]
Expand Down Expand Up @@ -45,14 +45,14 @@ services:
- "if [ ! -f genesis.ssz ]; then wget 'https://github.com/eth-clients/eth2-networks/raw/master/shared/prater/genesis.ssz'; fi"
working_dir: /genesis
volumes:
- ./data/prysm:/genesis
- ${PRYSM_DATADIR:-/data/prysm}:/genesis
prysm:
image: gcr.io/prysmaticlabs/prysm/beacon-chain:v4.1.1
restart: unless-stopped
stop_grace_period: 2m
volumes:
- ./data/prysm:/data
- ./data/geth:/geth
- ${PRYSM_DATADIR:-/data/prysm}:/data
- ${GETH_DATADIR:-/data/geth}:/geth
depends_on:
geth:
condition: service_healthy
Expand Down
8 changes: 4 additions & 4 deletions docker-compose/holesky/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ services:
- 8545:8545
- 8546:8546
volumes:
- ./data/geth:/data
- ${GETH_DATADIR:-/data/geth}:/data
stop_grace_period: 2m
healthcheck:
test: ["CMD-SHELL", "geth attach --datadir /data --exec eth.blockNumber"]
Expand Down Expand Up @@ -45,14 +45,14 @@ services:
- "if [ ! -f genesis.ssz ]; then wget 'https://github.com/eth-clients/holesky/raw/main/custom_config_data/genesis.ssz'; fi"
working_dir: /genesis
volumes:
- ./data/prysm:/genesis
- ${PRYSM_DATADIR:-/data/prysm}:/genesis
prysm:
image: gcr.io/prysmaticlabs/prysm/beacon-chain:v4.1.1
restart: unless-stopped
stop_grace_period: 2m
volumes:
- ./data/prysm:/data
- ./data/geth:/geth
- ${PRYSM_DATADIR:-/data/prysm}:/data
- ${GETH_DATADIR:-/data/geth}:/geth
depends_on:
geth:
condition: service_healthy
Expand Down
8 changes: 4 additions & 4 deletions docker-compose/sepolia/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ services:
- 8545:8545
- 8546:8546
volumes:
- ./data/geth:/data
- ${GETH_DATADIR:-/data/geth}:/data
stop_grace_period: 2m
healthcheck:
test: ["CMD-SHELL", "geth attach --datadir /data --exec eth.blockNumber"]
Expand Down Expand Up @@ -45,14 +45,14 @@ services:
- "if [ ! -f genesis.ssz ]; then wget 'https://github.com/eth-clients/merge-testnets/raw/main/sepolia/genesis.ssz'; fi"
working_dir: /genesis
volumes:
- ./data/prysm:/genesis
- ${PRYSM_DATADIR:-/data/prysm}:/genesis
prysm:
image: gcr.io/prysmaticlabs/prysm/beacon-chain:v4.1.1
restart: unless-stopped
stop_grace_period: 2m
volumes:
- ./data/prysm:/data
- ./data/geth:/geth
- ${PRYSM_DATADIR:-/data/prysm}:/data
- ${GETH_DATADIR:-/data/geth}:/geth
depends_on:
geth:
condition: service_healthy
Expand Down

0 comments on commit 8b670e4

Please sign in to comment.