Can't have dependencies on container that may not exist
This commit is contained in:
parent
5af0b2faf7
commit
21ceef59ee
|
@ -90,12 +90,7 @@ in {
|
||||||
restart = "always";
|
restart = "always";
|
||||||
ports = [ "${toString cfg.port}:3001" ];
|
ports = [ "${toString cfg.port}:3001" ];
|
||||||
command = [ "start.sh" "immich" ];
|
command = [ "start.sh" "immich" ];
|
||||||
depends_on = [
|
depends_on = [ "redis" "database" "immich-microservices" ];
|
||||||
"redis"
|
|
||||||
"database"
|
|
||||||
"immich-machine-learning"
|
|
||||||
"immich-microservices"
|
|
||||||
];
|
|
||||||
volumes = [
|
volumes = [
|
||||||
"${cfg.store-directory}:/usr/src/app/upload"
|
"${cfg.store-directory}:/usr/src/app/upload"
|
||||||
"/etc/localtime:/etc/localtime:ro"
|
"/etc/localtime:/etc/localtime:ro"
|
||||||
|
@ -109,7 +104,7 @@ in {
|
||||||
image = cfg.images.immich;
|
image = cfg.images.immich;
|
||||||
restart = "always";
|
restart = "always";
|
||||||
command = [ "start.sh" "microservices" ];
|
command = [ "start.sh" "microservices" ];
|
||||||
depends_on = [ "redis" "database" "immich-machine-learning" ];
|
depends_on = [ "redis" "database" ];
|
||||||
volumes = [
|
volumes = [
|
||||||
"${cfg.store-directory}:/usr/src/app/upload"
|
"${cfg.store-directory}:/usr/src/app/upload"
|
||||||
"/etc/localtime:/etc/localtime:ro"
|
"/etc/localtime:/etc/localtime:ro"
|
||||||
|
|
Loading…
Reference in New Issue