From e11ea609d4525fd69587173f7c91f7ea3106f6c1 Mon Sep 17 00:00:00 2001 From: Rachid F Date: Fri, 31 May 2024 15:14:19 -0700 Subject: [PATCH] :stethoscope: Docker healthcheck --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index a26461ec1..2c39567c9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -116,7 +116,7 @@ services: networks: - backend healthcheck: - test: ["CMD", "nc", "-z", "localhost", "${BACKEND_PORT}"] + test: ["CMD", "nc", "-z", "0.0.0.0", "${BACKEND_PORT}"] #test: ["CMD", "curl", "-f", "http://api:3000/health"] # Alternative healthcheck method interval: 10s timeout: 1s