From 09d704c325966e98e2866e5b2b9212463cf2f9b8 Mon Sep 17 00:00:00 2001 From: Tudor Date: Thu, 26 Mar 2026 10:12:54 +0000 Subject: [PATCH] fix(typesense): use wget instead of curl for healthcheck Typesense Docker image ships with wget but not curl. Co-Authored-By: Claude Opus 4.6 --- docker-compose.portainer.yml | 2 +- docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.portainer.yml b/docker-compose.portainer.yml index bc5ebb3..c2ab5a5 100644 --- a/docker-compose.portainer.yml +++ b/docker-compose.portainer.yml @@ -97,7 +97,7 @@ services: - backend restart: unless-stopped healthcheck: - test: ["CMD", "curl", "-sf", "http://localhost:8108/health"] + test: ["CMD", "wget", "--spider", "-q", "http://localhost:8108/health"] interval: 15s timeout: 5s retries: 5 diff --git a/docker-compose.yml b/docker-compose.yml index 6b43448..a57b049 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -90,7 +90,7 @@ services: - schoolcompare-network restart: unless-stopped healthcheck: - test: ["CMD", "curl", "-sf", "http://localhost:8108/health"] + test: ["CMD", "wget", "--spider", "-q", "http://localhost:8108/health"] interval: 15s timeout: 5s retries: 5