Add CMD to health check
This commit is contained in:
parent
4c0c704f91
commit
3c2efec0ac
|
@ -239,6 +239,7 @@ in {
|
|||
links = [ "nextcloud" ];
|
||||
healthcheck = {
|
||||
test = [
|
||||
"CMD"
|
||||
''
|
||||
curl -sSf 'http://localhost/status.php' | grep '"installed":true' | grep '"maintenance":false' | grep '"needsDbUpgrade":false' || exit 1''
|
||||
];
|
||||
|
|
Loading…
Reference in New Issue