From 939aaed64ddd22fc85400d2034c5fa2126d590ef Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Sat, 6 Apr 2024 16:00:14 +0200 Subject: [PATCH] Change localhost to meilisearch on the healthcheck Co-authored-by: tam1m --- 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 5c2e52e4..3856779c 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -168,7 +168,7 @@ services: env_file: - .env healthcheck: - test: ["CMD", "wget", "--no-verbose", "--spider", "http://localhost:7700/health"] + test: ["CMD", "wget", "--no-verbose", "--spider", "http://meilisearch:7700/health"] interval: 30s timeout: 5s retries: 5 diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index 54a0fb85..57dfb271 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -139,7 +139,7 @@ services: env_file: - .env healthcheck: - test: ["CMD", "wget", "--no-verbose", "--spider", "http://localhost:7700/health"] + test: ["CMD", "wget", "--no-verbose", "--spider", "http://meilisearch:7700/health"] interval: 30s timeout: 5s retries: 5 diff --git a/docker-compose.yml b/docker-compose.yml index 8d2a9200..4a3db931 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -140,7 +140,7 @@ services: env_file: - .env healthcheck: - test: ["CMD", "wget", "--no-verbose", "--spider", "http://localhost:7700/health"] + test: ["CMD", "wget", "--no-verbose", "--spider", "http://meilisearch:7700/health"] interval: 30s timeout: 5s retries: 5