Change name to default for ml

This commit is contained in:
niten 2024-02-09 16:02:26 -08:00
parent 667e970714
commit fd6cd5e335
1 changed files with 8 additions and 4 deletions

View File

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