disable immich-ml (OOM)

This commit is contained in:
cy 2024-12-20 18:17:59 -05:00
parent 3e27b372a9
commit 0ca581c1bf

View file

@ -69,17 +69,17 @@ in
networks = [ "immich-net" ]; networks = [ "immich-net" ];
}; };
immich-ml = { # immich-ml = {
image = "ghcr.io/immich-app/immich-machine-learning:release"; # image = "ghcr.io/immich-app/immich-machine-learning:release";
autoStart = true; # autoStart = true;
pull = "newer"; # pull = "newer";
environment = { # environment = {
REDIS_HOSTNAME = "immich-redis"; # REDIS_HOSTNAME = "immich-redis";
DB_HOSTNAME = "immich-db"; # DB_HOSTNAME = "immich-db";
}; # };
volumes = [ "${modelCache}:/cache" ]; # volumes = [ "${modelCache}:/cache" ];
networks = [ "immich-net" ]; # networks = [ "immich-net" ];
}; # };
}; };
systemd.services.create-immich-net = { systemd.services.create-immich-net = {
@ -88,7 +88,7 @@ in
"${backend}-immich.service" "${backend}-immich.service"
"${backend}-immich-db.service" "${backend}-immich-db.service"
"${backend}-immich-redis.service" "${backend}-immich-redis.service"
"${backend}-immich-ml.service" # "${backend}-immich-ml.service"
]; ];
script = '' script = ''
${pkgs.podman}/bin/podman network exists immich-net || \ ${pkgs.podman}/bin/podman network exists immich-net || \