From b3ae2159eeb7ab37ce38d6af0baeec6f49bfae70 Mon Sep 17 00:00:00 2001 From: David Boreham Date: Tue, 28 Mar 2023 10:46:26 -0600 Subject: [PATCH] Fix health checks in erc20 containers Former-commit-id: 35ca979068b764ed53f4705f62f67ee5f5b6bcbd --- app/data/compose/docker-compose-go-ethereum-foundry.yml | 2 +- app/data/compose/docker-compose-watcher-erc20.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/data/compose/docker-compose-go-ethereum-foundry.yml b/app/data/compose/docker-compose-go-ethereum-foundry.yml index 20d008f9..3da40d7f 100644 --- a/app/data/compose/docker-compose-go-ethereum-foundry.yml +++ b/app/data/compose/docker-compose-go-ethereum-foundry.yml @@ -8,7 +8,7 @@ services: condition: service_healthy image: cerc/go-ethereum-foundry:local healthcheck: - test: ["CMD", "nc", "-v", "localhost", "8545"] + test: ["CMD", "nc", "-vz", "localhost", "8545"] interval: 30s timeout: 3s retries: 10 diff --git a/app/data/compose/docker-compose-watcher-erc20.yml b/app/data/compose/docker-compose-watcher-erc20.yml index 82e76120..a094250c 100644 --- a/app/data/compose/docker-compose-watcher-erc20.yml +++ b/app/data/compose/docker-compose-watcher-erc20.yml @@ -39,7 +39,7 @@ services: - "0.0.0.0:3002:3001" - "0.0.0.0:9002:9001" healthcheck: - test: ["CMD", "nc", "-v", "localhost", "3002"] + test: ["CMD", "nc", "-vz", "localhost", "3001"] interval: 20s timeout: 5s retries: 15