make web healthcheck more future prove

This commit is contained in:
Moritz 2023-01-11 15:30:02 +01:00
parent 55866403ee
commit d0f6ca27be
1 changed files with 1 additions and 1 deletions

View File

@ -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