mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 17:31:34 +01:00
Declare gatus endpoints in each of their respective modules
This commit is contained in:
parent
d6245fada0
commit
7a9796e02c
7 changed files with 104 additions and 77 deletions
|
|
@ -72,5 +72,15 @@ in
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
custom.services.gatus.endpoints."Nextcloud" = {
|
||||
group = "Private";
|
||||
url = "https://${cfg.domain}/status.php";
|
||||
extraConditions = [
|
||||
"[BODY].installed == true"
|
||||
"[BODY].maintenance == false"
|
||||
"[BODY].needsDbUpgrade == false"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue