Prathamesh Musale
47cc5ed527
Part of [Create a public laconicd testnet](https://www.notion.so/Create-a-public-laconicd-testnet-896a11bdd8094eff8f1b49c0be0ca3b8) and [Create bridge channel in go-nitro](https://www.notion.so/Create-bridge-channel-in-go-nitro-22ce80a0d8ae4edb80020a8f250ea270) Reviewed-on: #1 Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com> Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
60 lines
1.7 KiB
YAML
60 lines
1.7 KiB
YAML
services:
|
|
eth-geth:
|
|
restart: on-failure
|
|
hostname: eth-geth
|
|
image: ethereum/client-go:alltools-v1.14.8
|
|
environment:
|
|
CERC_SCRIPT_DEBUG: ${CERC_SCRIPT_DEBUG}
|
|
ETH_DATADIR: "/root/.ethereum"
|
|
CERC_NETWORK: ${CERC_NETWORK:-sepolia}
|
|
CERC_ALLOW_UNPROTECTED_TXS: ${CERC_ALLOW_UNPROTECTED_TXS:-false}
|
|
CERC_SYNCMODE: ${CERC_SYNCMODE:-full}
|
|
CERC_GCMODE: ${CERC_GCMODE:-archive}
|
|
CERC_GETH_VERBOSITY: ${CERC_GETH_VERBOSITY:-3}
|
|
entrypoint: ["sh", "-c"]
|
|
command: |
|
|
"/root/scripts/run-el.sh"
|
|
volumes:
|
|
- eth_geth_data:/root/.ethereum
|
|
- eth_secrets:/root/secrets
|
|
- ../config/eth/run-el.sh:/root/scripts/run-el.sh
|
|
healthcheck:
|
|
test: ["CMD", "nc", "-v", "localhost", "8545"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 10
|
|
start_period: 3s
|
|
ports:
|
|
- "8545"
|
|
- "8546"
|
|
- "6060"
|
|
- "30303/tcp"
|
|
- "30303/udp"
|
|
|
|
eth-lighthouse:
|
|
restart: on-failure
|
|
hostname: eth-lighthouse
|
|
image: sigp/lighthouse:v5.3.0
|
|
environment:
|
|
CERC_SCRIPT_DEBUG: ${CERC_SCRIPT_DEBUG}
|
|
ETH_ENDPOINT: "http://eth-geth:8545"
|
|
EXECUTION_ENDPOINT: "http://eth-geth:8551"
|
|
LIGHTHOUSE_DATADIR: "/root/.lighthouse"
|
|
CERC_NETWORK: ${CERC_NETWORK:-sepolia}
|
|
CERC_CHECKPOINT_SYNC_URL: ${CERC_CHECKPOINT_SYNC_URL}
|
|
CERC_DEBUG_LEVEL: ${CERC_DEBUG_LEVEL:-info}
|
|
command: bash /root/scripts/run-cl.sh
|
|
volumes:
|
|
- eth_lighthouse_data:/root/.lighthouse
|
|
- eth_secrets:/root/secrets
|
|
- ../config/eth/run-cl.sh:/root/scripts/run-cl.sh
|
|
ports:
|
|
- "8001"
|
|
- "9000/tcp"
|
|
- "9000/udp"
|
|
|
|
volumes:
|
|
eth_geth_data:
|
|
eth_lighthouse_data:
|
|
eth_secrets:
|