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