Skip to content

Instantly share code, notes, and snippets.

@tedsteen
Created June 16, 2021 15:51
Show Gist options
  • Save tedsteen/b8a372d82962973861d900e5e4957eaf to your computer and use it in GitHub Desktop.
Save tedsteen/b8a372d82962973861d900e5e4957eaf to your computer and use it in GitHub Desktop.
docker compose to sync up with eth2
version: "3.4"
services:
eth1:
image: rocketpool/smartnode-pow-proxy:v1.0.0-rc2
container_name: eth1
restart: unless-stopped
stop_grace_period: 3m
entrypoint: "/go/bin/rocketpool-pow-proxy --httpPort 8545 --network eth-goerli --projectId XXXXXXX --providerType pocket"
eth2:
image: prysmaticlabs/prysm-beacon-chain:HEAD-5ae6e8-debug
user: root
container_name: eth2
restart: unless-stopped
stop_grace_period: 3m
volumes:
- ./eth2clientdata:/ethclient
entrypoint: "/app/cmd/beacon-chain/beacon-chain --accept-terms-of-use --prater --datadir /ethclient/prysm --p2p-tcp-port 9001 --p2p-udp-port 9001 --http-web3provider http://eth1:8545 --rpc-host 0.0.0.0 --rpc-port 5052 --eth1-header-req-limit 150 --genesis-state /ethclient/prater-genesis.ssz"
depends_on:
- eth1
@tedsteen
Copy link
Author

tedsteen commented Jun 16, 2021

Download prater-genesis.ssz and put it in ./eth2clientdata/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment