Change name to default for ml
This commit is contained in:
parent
667e970714
commit
fd6cd5e335
|
@ -87,8 +87,12 @@ 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-ml" "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"
|
||||||
|
@ -102,7 +106,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-ml" ];
|
depends_on = [ "redis" "database" "immich-machine-learning" ];
|
||||||
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"
|
||||||
|
@ -111,7 +115,7 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
immich-ml = {
|
immich-machine-learning = {
|
||||||
service = {
|
service = {
|
||||||
image = cfg.images.immich-ml;
|
image = cfg.images.immich-ml;
|
||||||
restart = "always";
|
restart = "always";
|
||||||
|
|
Loading…
Reference in New Issue