Can't have dependencies on container that may not exist

This commit is contained in:
niten 2024-05-20 21:50:21 -07:00
parent 5af0b2faf7
commit 21ceef59ee
1 changed files with 2 additions and 7 deletions

View File

@ -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"