Add a healthcheck to lighthouse bootnode to avoid failing eth txs

This commit is contained in:
Prathamesh Musale 2023-03-31 13:29:24 +05:30
parent 9192939748
commit 1fe0138578
2 changed files with 8 additions and 0 deletions

View File

@ -58,6 +58,12 @@ services:
environment:
RUN_BOOTNODE: "true"
image: cerc/fixturenet-eth-lighthouse:local
healthcheck:
test: ["CMD", "/scripts/status-internal.sh"]
interval: 10s
timeout: 100s
retries: 3
start_period: 15s
fixturenet-eth-lighthouse-1:
hostname: fixturenet-eth-lighthouse-1

View File

@ -6,6 +6,8 @@ services:
depends_on:
fixturenet-eth-geth-1:
condition: service_healthy
fixturenet-eth-bootnode-lighthouse:
condition: service_healthy
image: cerc/optimism-contracts:local
environment:
CHAIN_ID: 1212