2022-10-14 03:18:39 +00:00
|
|
|
version: '3.7'
|
|
|
|
|
|
|
|
services:
|
|
|
|
fixturenet-eth-bootnode-geth:
|
2023-05-19 08:16:39 +00:00
|
|
|
restart: always
|
2022-10-14 03:18:39 +00:00
|
|
|
hostname: fixturenet-eth-bootnode-geth
|
2022-10-14 18:48:54 +00:00
|
|
|
env_file:
|
|
|
|
- ../config/fixturenet-eth/fixturenet-eth.env
|
2022-10-14 03:18:39 +00:00
|
|
|
environment:
|
|
|
|
RUN_BOOTNODE: "true"
|
|
|
|
image: cerc/fixturenet-eth-geth:local
|
2023-04-19 06:52:13 +00:00
|
|
|
volumes:
|
|
|
|
- fixturenet_eth_bootnode_geth_data:/root/ethdata
|
2022-12-06 17:10:38 +00:00
|
|
|
ports:
|
|
|
|
- "9898"
|
|
|
|
- "30303"
|
2022-10-14 03:18:39 +00:00
|
|
|
|
|
|
|
fixturenet-eth-geth-1:
|
2023-05-19 08:16:39 +00:00
|
|
|
restart: always
|
2022-10-14 03:18:39 +00:00
|
|
|
hostname: fixturenet-eth-geth-1
|
2023-01-11 18:54:22 +00:00
|
|
|
cap_add:
|
|
|
|
- SYS_PTRACE
|
|
|
|
environment:
|
2023-08-09 09:16:00 +00:00
|
|
|
CERC_REMOTE_DEBUG: ${CERC_REMOTE_DEBUG:-true}
|
2023-05-31 08:10:58 +00:00
|
|
|
CERC_RUN_STATEDIFF: ${CERC_RUN_STATEDIFF:-detect}
|
2023-01-11 18:54:22 +00:00
|
|
|
CERC_STATEDIFF_DB_NODE_ID: 1
|
2023-01-26 23:47:06 +00:00
|
|
|
CERC_SCRIPT_DEBUG: ${CERC_SCRIPT_DEBUG}
|
2022-10-14 18:48:54 +00:00
|
|
|
env_file:
|
|
|
|
- ../config/fixturenet-eth/fixturenet-eth.env
|
2022-10-14 03:18:39 +00:00
|
|
|
image: cerc/fixturenet-eth-geth:local
|
2023-04-03 07:03:47 +00:00
|
|
|
volumes:
|
2023-04-19 06:52:13 +00:00
|
|
|
- fixturenet_eth_geth_1_data:/root/ethdata
|
2022-11-03 22:31:14 +00:00
|
|
|
healthcheck:
|
|
|
|
test: ["CMD", "nc", "-v", "localhost", "8545"]
|
|
|
|
interval: 30s
|
|
|
|
timeout: 10s
|
|
|
|
retries: 10
|
|
|
|
start_period: 3s
|
2022-10-14 03:18:39 +00:00
|
|
|
depends_on:
|
|
|
|
- fixturenet-eth-bootnode-geth
|
|
|
|
ports:
|
|
|
|
- "8545"
|
2023-09-27 05:25:15 +00:00
|
|
|
- "8546"
|
2023-01-11 18:54:22 +00:00
|
|
|
- "40000"
|
2023-01-17 18:04:28 +00:00
|
|
|
- "6060"
|
2022-10-14 03:18:39 +00:00
|
|
|
|
|
|
|
fixturenet-eth-geth-2:
|
2023-05-19 08:16:39 +00:00
|
|
|
restart: always
|
2022-10-14 03:18:39 +00:00
|
|
|
hostname: fixturenet-eth-geth-2
|
2022-11-03 22:31:14 +00:00
|
|
|
healthcheck:
|
|
|
|
test: ["CMD", "nc", "-v", "localhost", "8545"]
|
|
|
|
interval: 30s
|
|
|
|
timeout: 10s
|
|
|
|
retries: 10
|
|
|
|
start_period: 3s
|
2023-04-26 05:13:35 +00:00
|
|
|
environment:
|
|
|
|
CERC_KEEP_RUNNING_AFTER_GETH_EXIT: "true"
|
2022-10-14 18:48:54 +00:00
|
|
|
env_file:
|
|
|
|
- ../config/fixturenet-eth/fixturenet-eth.env
|
2022-10-14 03:18:39 +00:00
|
|
|
image: cerc/fixturenet-eth-geth:local
|
|
|
|
depends_on:
|
|
|
|
- fixturenet-eth-bootnode-geth
|
2023-04-19 06:52:13 +00:00
|
|
|
volumes:
|
|
|
|
- fixturenet_eth_geth_2_data:/root/ethdata
|
2022-10-14 03:18:39 +00:00
|
|
|
|
|
|
|
fixturenet-eth-bootnode-lighthouse:
|
2023-05-19 08:16:39 +00:00
|
|
|
restart: always
|
2022-10-14 03:18:39 +00:00
|
|
|
hostname: fixturenet-eth-bootnode-lighthouse
|
|
|
|
environment:
|
|
|
|
RUN_BOOTNODE: "true"
|
|
|
|
image: cerc/fixturenet-eth-lighthouse:local
|
|
|
|
|
|
|
|
fixturenet-eth-lighthouse-1:
|
2023-05-19 08:16:39 +00:00
|
|
|
restart: always
|
2022-10-14 03:18:39 +00:00
|
|
|
hostname: fixturenet-eth-lighthouse-1
|
2022-11-03 22:31:14 +00:00
|
|
|
healthcheck:
|
|
|
|
test: ["CMD", "wget", "--tries=1", "--connect-timeout=1", "--quiet", "-O", "-", "http://localhost:8001/eth/v2/beacon/blocks/head"]
|
|
|
|
interval: 30s
|
|
|
|
timeout: 10s
|
|
|
|
retries: 10
|
|
|
|
start_period: 30s
|
2022-10-14 18:48:54 +00:00
|
|
|
env_file:
|
|
|
|
- ../config/fixturenet-eth/fixturenet-eth.env
|
2022-10-14 03:18:39 +00:00
|
|
|
environment:
|
|
|
|
NODE_NUMBER: "1"
|
|
|
|
ETH1_ENDPOINT: "http://fixturenet-eth-geth-1:8545"
|
|
|
|
EXECUTION_ENDPOINT: "http://fixturenet-eth-geth-1:8551"
|
|
|
|
image: cerc/fixturenet-eth-lighthouse:local
|
2023-04-19 06:52:13 +00:00
|
|
|
volumes:
|
|
|
|
- fixturenet_eth_lighthouse_1_data:/opt/testnet/build/cl
|
2022-10-14 03:18:39 +00:00
|
|
|
depends_on:
|
2022-11-03 22:31:14 +00:00
|
|
|
fixturenet-eth-bootnode-lighthouse:
|
|
|
|
condition: service_started
|
|
|
|
fixturenet-eth-geth-1:
|
|
|
|
condition: service_healthy
|
2022-10-14 03:18:39 +00:00
|
|
|
ports:
|
|
|
|
- "8001"
|
2023-04-03 07:03:47 +00:00
|
|
|
|
2022-10-14 03:18:39 +00:00
|
|
|
fixturenet-eth-lighthouse-2:
|
2023-05-19 08:16:39 +00:00
|
|
|
restart: always
|
2022-10-14 03:18:39 +00:00
|
|
|
hostname: fixturenet-eth-lighthouse-2
|
2022-11-03 22:31:14 +00:00
|
|
|
healthcheck:
|
|
|
|
test: ["CMD", "wget", "--tries=1", "--connect-timeout=1", "--quiet", "-O", "-", "http://localhost:8001/eth/v2/beacon/blocks/head"]
|
|
|
|
interval: 30s
|
|
|
|
timeout: 10s
|
|
|
|
retries: 10
|
|
|
|
start_period: 30s
|
2022-10-14 18:48:54 +00:00
|
|
|
env_file:
|
|
|
|
- ../config/fixturenet-eth/fixturenet-eth.env
|
2022-10-14 03:18:39 +00:00
|
|
|
environment:
|
|
|
|
NODE_NUMBER: "2"
|
|
|
|
ETH1_ENDPOINT: "http://fixturenet-eth-geth-2:8545"
|
|
|
|
EXECUTION_ENDPOINT: "http://fixturenet-eth-geth-2:8551"
|
|
|
|
LIGHTHOUSE_GENESIS_STATE_URL: "http://fixturenet-eth-lighthouse-1:8001/eth/v2/debug/beacon/states/0"
|
|
|
|
image: cerc/fixturenet-eth-lighthouse:local
|
2023-04-19 06:52:13 +00:00
|
|
|
volumes:
|
|
|
|
- fixturenet_eth_lighthouse_2_data:/opt/testnet/build/cl
|
2022-10-14 03:18:39 +00:00
|
|
|
depends_on:
|
2022-11-03 22:31:14 +00:00
|
|
|
fixturenet-eth-bootnode-lighthouse:
|
|
|
|
condition: service_started
|
|
|
|
fixturenet-eth-geth-2:
|
|
|
|
condition: service_healthy
|
2023-04-03 07:03:47 +00:00
|
|
|
|
|
|
|
volumes:
|
2023-04-19 06:52:13 +00:00
|
|
|
fixturenet_eth_bootnode_geth_data:
|
|
|
|
fixturenet_eth_geth_1_data:
|
|
|
|
fixturenet_eth_geth_2_data:
|
|
|
|
fixturenet_eth_lighthouse_1_data:
|
|
|
|
fixturenet_eth_lighthouse_2_data:
|