1

Add uptime-kuma service

This commit is contained in:
2023-10-30 11:41:45 +01:00
parent 296dfc9557
commit 83cffff875

View File

@ -0,0 +1,36 @@
{
config,
lib,
pkgs,
...
}: {
virtualisation.oci-containers.containers.uptime-kuma = {
image = "louislam/uptime-kuma:latest";
autoStart = true;
dependsOn = [
# "pihole"
];
ports = [];
volumes = [
"uptime-kuma_config:/app/data"
"/var/run/docker.sock:/var/run/docker.sock"
];
environment = {
# PUID = "1000";
# PGID = "1000";
# TZ = "Europe/Berlin";
# NVIDIA_VISIBLE_DEVICES = "all";
# NVIDIA_DRIVER_CAPABILITIES = "all";
};
extraOptions = [
# "--gpus=all"
"--network=behind-nginx"
];
};
}