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