Add Uptime Kuma

Add Uptime Kuma as as service, configure a reverse proxy and add it to
Homepage.
This commit is contained in:
Oliver Davies 2025-04-28 21:26:56 +01:00
parent bbbad11fd9
commit 44699fb007
4 changed files with 28 additions and 0 deletions

View file

@ -31,6 +31,7 @@
"rebuilding-symfony.oliverdavies.uk"
"tailwindcss-demo.oliverdavies.uk"
"talking-drupal-tailwindcss.oliverdavies.uk"
"uptime.oliverdavies.uk"
"wp-tailwind.oliverdavies.uk"
"www.oliverdavies.uk"
"zet.oliverdavies.uk"

View file

@ -2,5 +2,6 @@
imports = [
./homepage
./samba.nix
./uptime-kuma.nix
];
}

View file

@ -34,6 +34,15 @@
{
"Services" = [
{
"Uptime Kuma" = {
description = "A fancy self-hosted monitoring tool";
href = "https://uptime.oliverdavies.uk";
icon = "uptime-kuma";
siteMonitor = "http://localhost:${toString config.services.uptime-kuma.settings.PORT}";
};
}
{
"Paperless-ngx" =
let

View file

@ -0,0 +1,17 @@
{ config, ... }:
{
services = {
uptime-kuma.enable = true;
nginx.virtualHosts."uptime.oliverdavies.uk" = {
forceSSL = true;
useACMEHost = "oliverdavies.uk";
locations."/" = {
proxyPass = "http://localhost:${toString config.services.uptime-kuma.settings.PORT}";
recommendedProxySettings = true;
};
};
};
}