From fd6cd5e3352bcef581d0ecd6f338f7b0bc85f437 Mon Sep 17 00:00:00 2001 From: niten Date: Fri, 9 Feb 2024 16:02:26 -0800 Subject: [PATCH] Change name to default for ml --- immich-container.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/immich-container.nix b/immich-container.nix index d85e8a5..906e743 100644 --- a/immich-container.nix +++ b/immich-container.nix @@ -87,8 +87,12 @@ in { restart = "always"; ports = [ "${toString cfg.port}:3001" ]; command = [ "start.sh" "immich" ]; - depends_on = - [ "redis" "database" "immich-ml" "immich-microservices" ]; + depends_on = [ + "redis" + "database" + "immich-machine-learning" + "immich-microservices" + ]; volumes = [ "${cfg.store-directory}:/usr/src/app/upload" "/etc/localtime:/etc/localtime:ro" @@ -102,7 +106,7 @@ in { image = cfg.images.immich; restart = "always"; command = [ "start.sh" "microservices" ]; - depends_on = [ "redis" "database" "immich-ml" ]; + depends_on = [ "redis" "database" "immich-machine-learning" ]; volumes = [ "${cfg.store-directory}:/usr/src/app/upload" "/etc/localtime:/etc/localtime:ro" @@ -111,7 +115,7 @@ in { }; }; - immich-ml = { + immich-machine-learning = { service = { image = cfg.images.immich-ml; restart = "always";