make web healthcheck more future prove

This commit is contained in:
Moritz 2023-01-11 15:30:02 +01:00
parent 55866403ee
commit d0f6ca27be

View File

@ -36,7 +36,7 @@ services:
secrets: secrets:
- admin_password - admin_password
healthcheck: 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 interval: 30s
timeout: 10s timeout: 10s
retries: 10 retries: 10