From 2be323f27e7ced8a7aa4e0ed9467a0c422c0e4cd Mon Sep 17 00:00:00 2001 From: Robert Helewka Date: Sat, 2 May 2026 07:01:54 -0400 Subject: [PATCH] Casdoor: Change to curl for healthcheck --- ansible/casdoor/docker-compose.yml.j2 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ansible/casdoor/docker-compose.yml.j2 b/ansible/casdoor/docker-compose.yml.j2 index f343b7f..e7bcd70 100644 --- a/ansible/casdoor/docker-compose.yml.j2 +++ b/ansible/casdoor/docker-compose.yml.j2 @@ -27,7 +27,10 @@ services: tag: "casdoor" restart: unless-stopped healthcheck: - test: ["CMD", "wget", "-q", "--spider", "http://localhost:{{ casdoor_port }}/api/health"] + # curl is installed in the casbin/casdoor image (see upstream Dockerfile); + # wget is not guaranteed to be present, and BusyBox wget --spider behaves + # inconsistently. Use `curl -f` per ouranos.md standards. + test: ["CMD", "curl", "-f", "http://localhost:{{ casdoor_port }}/api/health"] interval: 30s timeout: 10s retries: 3