added uptime-kuma

This commit is contained in:
Richie Cahill 2024-07-05 10:49:52 -04:00
parent 3722e4602b
commit 391e8f0c14
3 changed files with 22 additions and 0 deletions

View File

@ -110,10 +110,12 @@
"keyserver",
"keyservers",
"KRNL",
"kuma",
"libexec",
"libvirtd",
"localtime",
"LOGG",
"louislam",
"lsnew",
"luks",
"lynis",

View File

@ -22,11 +22,13 @@ frontend ContentSwitching
acl host_dndrules hdr(host) -i dndrules.tmmworkshop.com
acl host_grafana hdr(host) -i grafana.tmmworkshop.com
acl host_filebrowser hdr(host) -i filebrowser.tmmworkshop.com
acl host_uptime_kuma hdr(host) -i uptimekuma.tmmworkshop.com
use_backend mirror_nodes if host_mirror
use_backend dndrules_nodes if host_dndrules
use_backend grafana_nodes if host_grafana
use_backend filebrowser_nodes if host_filebrowser
use_backend uptime_kuma_nodes if host_uptime_kuma
backend mirror_nodes
mode http
@ -47,3 +49,7 @@ backend dndrules_nodes
backend filebrowser_nodes
mode http
server server filebrowser:8080
backend uptime_kuma_nodes
mode http
server server uptime_kuma:3001

View File

@ -0,0 +1,14 @@
let
vars = import ../vars.nix;
in
{
virtualisation.oci-containers.containers = {
uptime_kuma = {
image = "louislam/uptime-kuma:latest";
ports = [ "3001:3001" ];
volumes = [ "${vars.media_docker_configs}/uptime_kuma:/app/data" ];
extraOptions = [ "--network=web" ];
autoStart = true;
};
};
}