[Uptime Kuma] Adds Uptime Kuma to blazestar.net

This commit is contained in:
2025-07-31 16:05:15 -07:00
parent 1d1702bd9b
commit 3b46856b66
3 changed files with 19 additions and 1 deletions

View File

@@ -17,12 +17,14 @@ in
TUWUNEL_REGISTRATION_TOKEN=${config.sops.placeholder."matrix/blazestar-registration-token"}
'';
# This isn't using any of my usual helpers because I wanted to set a custom
# serviceName in Traefik that is different from the hostname to avoid
# conflicts with the havenisms.com server.
virtualisation.oci-containers.containers."${serviceName}" = {
# The 1.1.0 version has an issue with the compression being incorrectly tagged.
# See: https://github.com/matrix-construct/tuwunel/issues/79
image = "ghcr.io/matrix-construct/tuwunel:v1.0.0-release-all-x86_64-linux-gnu";
autoStart = true;
hostname = "${matrixHost}.${blazestar}";
volumes = [
"matrix-blazestar-net-db:${dbPath}"
];

View File

@@ -2,5 +2,6 @@
{
imports = [
./chat.nix
./uptime.nix
];
}

View File

@@ -0,0 +1,15 @@
{ config, ... }:
let
inherit (import ../lib.nix config) blazestar;
in
{
virtualisation.web-containers.containers.uptime = {
image = "louislam/uptime-kuma:1";
hostname = "uptime";
domain = blazestar;
port = 3001;
volumes = [
"uptime-kuma:/app/data"
];
};
}