Casdoor: Change to curl for healthcheck
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user