From 0d5e368c0d8e895ed1175f8f54db70d06c6f18d1 Mon Sep 17 00:00:00 2001 From: Dan G Date: Fri, 20 Dec 2024 16:22:00 +0000 Subject: [PATCH] [hasura] use wget instead of curl for hasuraProxy container health check (#4103) --- infrastructure/application/services/hasura.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure/application/services/hasura.ts b/infrastructure/application/services/hasura.ts index 7e4b5a5756..894fd8d249 100644 --- a/infrastructure/application/services/hasura.ts +++ b/infrastructure/application/services/hasura.ts @@ -82,7 +82,7 @@ export const createHasuraService = async ({ }], healthCheck: { // hasuraProxy health depends on hasura health - command: ["CMD-SHELL", `curl --head http://localhost:${HASURA_PROXY_PORT}/healthz || exit 1`], + command: ["CMD-SHELL", `wget --spider --quiet http://localhost:${HASURA_PROXY_PORT}/healthz || exit 1`], interval: 15, timeout: 3, retries: 3,