diff --git a/nextcloud-container.nix b/nextcloud-container.nix index 68513cd..db454cf 100644 --- a/nextcloud-container.nix +++ b/nextcloud-container.nix @@ -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'' ];