Deduce gatus endpoint group from domain when possible

This commit is contained in:
SebastianStork 2025-06-20 22:17:54 +02:00
parent efe6da5582
commit dbe87bc88a
7 changed files with 11 additions and 20 deletions

View file

@ -96,14 +96,10 @@ in
custom.services.gatus.endpoints = {
"Forgejo" = {
group = "Public";
url = "https://${cfg.domain}/api/healthz";
extraConditions = [ "[BODY].status == pass" ];
};
"Forgejo SSH" = {
group = "Public";
url = "ssh://${cfg.domain}";
};
"Forgejo SSH".url = "ssh://${cfg.domain}";
};
};
}