.github
.vscode
docs
hydra
keys
lib
modules
systems
artemision
bob
jeeves
jeeves-jr
docker
default.nix
haproxy.cfg
uptime_kuma.nix
web.nix
configuration.nix
default.nix
hardware.nix
secrets.yaml
vars.nix
palatine-hill
rhapsody-in-green
users
utils
.envrc
.gitconfig
.gitignore
.sops.yaml
checks.nix
flake.lock
flake.nix
shell.nix
sops-mergetool.sh
statix.toml
treefmt.toml
18 lines
401 B
Nix
18 lines
401 B
Nix
![]() |
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"
|
||
|
"/var/run/docker.sock:/var/run/docker.sock"
|
||
|
];
|
||
|
extraOptions = [ "--network=web" ];
|
||
|
autoStart = true;
|
||
|
};
|
||
|
};
|
||
|
}
|