From 21ceef59ee68942de08630f59ab8a556f14bde4c Mon Sep 17 00:00:00 2001 From: niten Date: Mon, 20 May 2024 21:50:21 -0700 Subject: [PATCH] Can't have dependencies on container that may not exist --- immich-container.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/immich-container.nix b/immich-container.nix index 86ddc46..36ee1d4 100644 --- a/immich-container.nix +++ b/immich-container.nix @@ -90,12 +90,7 @@ in { restart = "always"; ports = [ "${toString cfg.port}:3001" ]; command = [ "start.sh" "immich" ]; - depends_on = [ - "redis" - "database" - "immich-machine-learning" - "immich-microservices" - ]; + depends_on = [ "redis" "database" "immich-microservices" ]; volumes = [ "${cfg.store-directory}:/usr/src/app/upload" "/etc/localtime:/etc/localtime:ro" @@ -109,7 +104,7 @@ in { image = cfg.images.immich; restart = "always"; command = [ "start.sh" "microservices" ]; - depends_on = [ "redis" "database" "immich-machine-learning" ]; + depends_on = [ "redis" "database" ]; volumes = [ "${cfg.store-directory}:/usr/src/app/upload" "/etc/localtime:/etc/localtime:ro"