From d0f6ca27be7ef2092f62ef8e702f8fcce0ed719d Mon Sep 17 00:00:00 2001 From: Moritz Date: Wed, 11 Jan 2023 15:30:02 +0100 Subject: [PATCH] make web healthcheck more future prove --- compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose.yml b/compose.yml index 49d70ea..4b05134 100644 --- a/compose.yml +++ b/compose.yml @@ -36,7 +36,7 @@ services: secrets: - admin_password healthcheck: - test: ["CMD-SHELL", 'curl -s -N --user admin:$$(cat /run/secrets/admin_password) localhost/ocs/v2.php/apps/serverinfo/api/v1/info | grep "statuscode>200<"'] + test: ["CMD-SHELL", 'curl -s -N curl -Ns localhost/status.php | grep "installed\":true"'] interval: 30s timeout: 10s retries: 10