[Uptime Kuma] Adds Uptime Kuma to blazestar.net
This commit is contained in:
@@ -17,12 +17,14 @@ in
|
|||||||
TUWUNEL_REGISTRATION_TOKEN=${config.sops.placeholder."matrix/blazestar-registration-token"}
|
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}" = {
|
virtualisation.oci-containers.containers."${serviceName}" = {
|
||||||
# The 1.1.0 version has an issue with the compression being incorrectly tagged.
|
# The 1.1.0 version has an issue with the compression being incorrectly tagged.
|
||||||
# See: https://github.com/matrix-construct/tuwunel/issues/79
|
# See: https://github.com/matrix-construct/tuwunel/issues/79
|
||||||
image = "ghcr.io/matrix-construct/tuwunel:v1.0.0-release-all-x86_64-linux-gnu";
|
image = "ghcr.io/matrix-construct/tuwunel:v1.0.0-release-all-x86_64-linux-gnu";
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
hostname = "${matrixHost}.${blazestar}";
|
|
||||||
volumes = [
|
volumes = [
|
||||||
"matrix-blazestar-net-db:${dbPath}"
|
"matrix-blazestar-net-db:${dbPath}"
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -2,5 +2,6 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./chat.nix
|
./chat.nix
|
||||||
|
./uptime.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
15
system/hosts/mcp/containers/blazestar.net/uptime.nix
Normal file
15
system/hosts/mcp/containers/blazestar.net/uptime.nix
Normal 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"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user