feat(sgx): add Uptime Kuma to monitor mx services independently

Runs on sgx so alerts (via Gmail) still work even if mx is down.
Available at https://status.hoyer.world behind nginx with ACME cert.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Harald Hoyer 2026-03-24 17:06:35 +01:00
parent 7df551d46f
commit 04ebe32c3c
4 changed files with 21 additions and 0 deletions

View file

@ -15,6 +15,7 @@
"openwebui.hoyer.world"
"syncthing.hoyer.world"
"home.hoyer.world"
"status.hoyer.world"
];
};
};

View file

@ -11,6 +11,7 @@
./mail.nix
./wyoming.nix
./searx.nix
./uptime-kuma.nix
];
boot.tmp.useTmpfs = false;

View file

@ -32,5 +32,14 @@
proxyWebsockets = true;
};
};
"status.hoyer.world" = {
enableACME = false;
useACMEHost = "internal.hoyer.world";
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:4000";
proxyWebsockets = true;
};
};
};
}

View file

@ -0,0 +1,10 @@
{ ... }:
{
services.uptime-kuma = {
enable = true;
settings = {
PORT = "4000";
HOST = "127.0.0.1";
};
};
}