added uptime-kuma
This commit is contained in:
parent
3722e4602b
commit
391e8f0c14
2
.vscode/settings.json
vendored
2
.vscode/settings.json
vendored
@ -110,10 +110,12 @@
|
||||
"keyserver",
|
||||
"keyservers",
|
||||
"KRNL",
|
||||
"kuma",
|
||||
"libexec",
|
||||
"libvirtd",
|
||||
"localtime",
|
||||
"LOGG",
|
||||
"louislam",
|
||||
"lsnew",
|
||||
"luks",
|
||||
"lynis",
|
||||
|
@ -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
|
14
systems/jeeves/docker/uptime_kuma.nix
Normal file
14
systems/jeeves/docker/uptime_kuma.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user