make web healthcheck more future prove
This commit is contained in:
parent
55866403ee
commit
d0f6ca27be
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue