forked from mirrors_public/oddlama_nix-config
fix: fix monitoring endpoints for new services
This commit is contained in:
parent
3c38eaf072
commit
46f0db2d60
2 changed files with 15 additions and 19 deletions
|
@ -5,7 +5,7 @@
|
|||
...
|
||||
}:
|
||||
let
|
||||
mealieDomain = "mealie.${globals.domains.personal}";
|
||||
mealieDomain = "mealie.${globals.domains.me}";
|
||||
in
|
||||
{
|
||||
wireguard.proxy-home = {
|
||||
|
@ -22,9 +22,8 @@ in
|
|||
globals.services.mealie.domain = mealieDomain;
|
||||
globals.monitoring.http.mealie = {
|
||||
url = "https://${mealieDomain}";
|
||||
# FIXME: todooooooooooo
|
||||
expectedBodyRegex = "TODO";
|
||||
network = "internet";
|
||||
expectedBodyRegex = ''<title>Mealie<\title>'';
|
||||
network = "home-lan.vlans.services";
|
||||
};
|
||||
|
||||
environment.persistence."/persist".directories = [
|
||||
|
@ -62,8 +61,8 @@ in
|
|||
'';
|
||||
monitoring = {
|
||||
enable = true;
|
||||
# FIXME: todooooooooooo
|
||||
expectedBodyRegex = "TODO";
|
||||
expectedStatus = 200;
|
||||
expectedBodyRegex = ''<title>Mealie<\title>'';
|
||||
};
|
||||
};
|
||||
virtualHosts.${mealieDomain} = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue