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