2024-09-27 15:57:06 +02:00
|
|
|
{...}: {
|
|
|
|
services.caddy.virtualHosts."uptime.gasdev.fr".extraConfig = ''
|
|
|
|
reverse_proxy http://127.0.0.1:3001
|
|
|
|
'';
|
|
|
|
|
|
|
|
virtualisation.oci-containers.containers = {
|
2024-09-30 12:10:39 +02:00
|
|
|
uptime-kuma = {
|
2024-09-27 15:57:06 +02:00
|
|
|
image = "docker.io/louislam/uptime-kuma:1";
|
|
|
|
autoStart = true;
|
|
|
|
ports = ["127.0.0.1:3001:3001"];
|
2024-11-06 09:18:08 +01:00
|
|
|
volumes = [
|
|
|
|
"uptime-kuma:/app/data"
|
|
|
|
# For container monitoring
|
|
|
|
"/var/run/podman/podman.sock:/var/run/podman/podman.sock"
|
|
|
|
];
|
2024-09-27 15:57:06 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|