diff --git a/systems/jeeves-jr/docker/uptime_kuma.nix b/systems/jeeves-jr/docker/uptime_kuma.nix index 91d9582..3a46640 100644 --- a/systems/jeeves-jr/docker/uptime_kuma.nix +++ b/systems/jeeves-jr/docker/uptime_kuma.nix @@ -5,7 +5,6 @@ in virtualisation.oci-containers.containers = { uptime_kuma = { image = "louislam/uptime-kuma:latest"; - ports = [ "3001:3001" ]; volumes = [ "${vars.main_docker_configs}/uptime_kuma:/app/data" "/var/run/docker.sock:/var/run/docker.sock" diff --git a/systems/jeeves-jr/docker/web.nix b/systems/jeeves-jr/docker/web.nix index 8f8dc50..631121c 100644 --- a/systems/jeeves-jr/docker/web.nix +++ b/systems/jeeves-jr/docker/web.nix @@ -24,7 +24,10 @@ in "${config.sops.secrets."docker/haproxy_cert".path}:/etc/ssl/certs/cloudflare.pem" "${./haproxy.cfg}:/usr/local/etc/haproxy/haproxy.cfg" ]; - dependsOn = [ "arch_mirror" ]; + dependsOn = [ + "arch_mirror" + "uptime_kuma" + ]; extraOptions = [ "--network=web" ]; autoStart = true; }; diff --git a/systems/jeeves/docker/uptime_kuma.nix b/systems/jeeves/docker/uptime_kuma.nix index bf5e39f..484c0ad 100644 --- a/systems/jeeves/docker/uptime_kuma.nix +++ b/systems/jeeves/docker/uptime_kuma.nix @@ -5,7 +5,6 @@ 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"