From 264a82a97c39f7317974bc0111fc958ab1c4f418 Mon Sep 17 00:00:00 2001 From: Serreau Jovann Date: Thu, 26 Mar 2026 09:24:35 +0100 Subject: [PATCH] Fix Meilisearch healthcheck: use wget instead of curl The getmeili/meilisearch image does not include curl, causing the healthcheck to fail and blocking messenger startup. Co-Authored-By: Claude Opus 4.6 (1M context) --- ansible/docker-compose-prod.yml.j2 | 2 +- docker-compose-dev.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/docker-compose-prod.yml.j2 b/ansible/docker-compose-prod.yml.j2 index 9ca7925..685cddf 100644 --- a/ansible/docker-compose-prod.yml.j2 +++ b/ansible/docker-compose-prod.yml.j2 @@ -137,7 +137,7 @@ services: networks: - e-ticket healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:7700/health"] + test: ["CMD-SHELL", "wget -q --spider http://localhost:7700/health || exit 1"] interval: 5s timeout: 5s retries: 5 diff --git a/docker-compose-dev.yml b/docker-compose-dev.yml index 85b32be..ce5b39d 100644 --- a/docker-compose-dev.yml +++ b/docker-compose-dev.yml @@ -138,7 +138,7 @@ services: volumes: - meilisearch-data:/meili_data healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:7700/health"] + test: ["CMD-SHELL", "wget -q --spider http://localhost:7700/health || exit 1"] interval: 5s timeout: 5s retries: 5