mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 16:21:34 +01:00
gatus: split ambiguous "endpoints" option into "customEndpoints" and internal "finalEndpoints"
This commit is contained in:
parent
dd5268ded4
commit
47b35b5ed6
2 changed files with 33 additions and 22 deletions
|
|
@ -19,17 +19,20 @@
|
|||
enable = true;
|
||||
domain = "status.${config.custom.services.tailscale.domain}";
|
||||
endpointDomains = config.meta.domains.globalList;
|
||||
endpoints = {
|
||||
"status".group = "Monitoring";
|
||||
customEndpoints = {
|
||||
"status" = {
|
||||
group = "Monitoring";
|
||||
url = "https://${config.custom.services.gatus.domain}";
|
||||
};
|
||||
"alerts" = {
|
||||
group = "Monitoring";
|
||||
appendPath = "/v1/health";
|
||||
url = "https://alerts.${config.custom.services.tailscale.domain}/v1/health";
|
||||
extraConditions = [ "[BODY].healthy == true" ];
|
||||
};
|
||||
"git ssh".url = "ssh://git.sstork.dev";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
ntfy = {
|
||||
enable = true;
|
||||
domain = "alerts.${config.custom.services.tailscale.domain}";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue