From 869c6fac124831a48678649314994243d76a3d21 Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Fri, 8 Dec 2023 12:29:27 +0100 Subject: [PATCH] Update meilisearch healthcheck --- docker-compose.dev.yml | 2 +- docker-compose.prod.yml | 2 +- docker-compose.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index ebad3260..b1ecfada 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -113,7 +113,7 @@ services: env_file: - .env healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:7700"] + test: ["CMD", "wget", "--no-verbose", "--spider", "http://localhost:7700/health"] interval: 10s timeout: 5s retries: 5 diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index eafbc947..ce317c6c 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -83,7 +83,7 @@ services: env_file: - .env healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:7700"] + test: ["CMD", "wget", "--no-verbose", "--spider", "http://localhost:7700/health"] interval: 10s timeout: 5s retries: 5 diff --git a/docker-compose.yml b/docker-compose.yml index 1535c14b..e77db239 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -82,7 +82,7 @@ services: env_file: - .env healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:7700"] + test: ["CMD", "wget", "--no-verbose", "--spider", "http://localhost:7700/health"] interval: 10s timeout: 5s retries: 5