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

Commit

Permalink
compose: remove genesis directory
Browse files Browse the repository at this point in the history
  • Loading branch information
islishude committed Dec 5, 2023
1 parent 8c4c3d9 commit 3459f57
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
5 changes: 2 additions & 3 deletions docker-compose/goerli/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +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/genesis:/genesis
- ./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
- ./data/genesis:/genesis
depends_on:
geth:
condition: service_healthy
Expand All @@ -64,7 +63,7 @@ services:
- --goerli
- --datadir=/data
- --execution-endpoint=/geth/geth.ipc
- --genesis-state=/genesis/genesis.ssz
- --genesis-state=/data/genesis.ssz
- --checkpoint-sync-url=https://goerli.beaconstate.info
- --genesis-beacon-api-url=https://goerli.beaconstate.info
logging:
Expand Down
5 changes: 2 additions & 3 deletions docker-compose/holesky/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +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/genesis:/genesis
- ./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
- ./data/genesis:/genesis
depends_on:
geth:
condition: service_healthy
Expand All @@ -64,7 +63,7 @@ services:
- --holesky
- --datadir=/data
- --execution-endpoint=/geth/geth.ipc
- --genesis-state=/genesis/genesis.ssz
- --genesis-state=/data/genesis.ssz
- --checkpoint-sync-url=https://holesky.beaconstate.info
- --genesis-beacon-api-url=https://holesky.beaconstate.info
logging:
Expand Down
5 changes: 2 additions & 3 deletions docker-compose/sepolia/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +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/genesis:/genesis
- ./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
- ./data/genesis:/genesis
depends_on:
geth:
condition: service_healthy
Expand All @@ -64,7 +63,7 @@ services:
- --sepolia
- --datadir=/data
- --execution-endpoint=/geth/geth.ipc
- --genesis-state=/genesis/genesis.ssz
- --genesis-state=/data/genesis.ssz
- --checkpoint-sync-url=https://sepolia.beaconstate.info
- --genesis-beacon-api-url=https://sepolia.beaconstate.info
logging:
Expand Down

0 comments on commit 3459f57

Please sign in to comment.