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