disable immich-ml (OOM)
This commit is contained in:
parent
3e27b372a9
commit
0ca581c1bf
1 changed files with 12 additions and 12 deletions
|
@ -69,17 +69,17 @@ in
|
|||
networks = [ "immich-net" ];
|
||||
};
|
||||
|
||||
immich-ml = {
|
||||
image = "ghcr.io/immich-app/immich-machine-learning:release";
|
||||
autoStart = true;
|
||||
pull = "newer";
|
||||
environment = {
|
||||
REDIS_HOSTNAME = "immich-redis";
|
||||
DB_HOSTNAME = "immich-db";
|
||||
};
|
||||
volumes = [ "${modelCache}:/cache" ];
|
||||
networks = [ "immich-net" ];
|
||||
};
|
||||
# immich-ml = {
|
||||
# image = "ghcr.io/immich-app/immich-machine-learning:release";
|
||||
# autoStart = true;
|
||||
# pull = "newer";
|
||||
# environment = {
|
||||
# REDIS_HOSTNAME = "immich-redis";
|
||||
# DB_HOSTNAME = "immich-db";
|
||||
# };
|
||||
# volumes = [ "${modelCache}:/cache" ];
|
||||
# networks = [ "immich-net" ];
|
||||
# };
|
||||
};
|
||||
|
||||
systemd.services.create-immich-net = {
|
||||
|
@ -88,7 +88,7 @@ in
|
|||
"${backend}-immich.service"
|
||||
"${backend}-immich-db.service"
|
||||
"${backend}-immich-redis.service"
|
||||
"${backend}-immich-ml.service"
|
||||
# "${backend}-immich-ml.service"
|
||||
];
|
||||
script = ''
|
||||
${pkgs.podman}/bin/podman network exists immich-net || \
|
||||
|
|
Loading…
Add table
Reference in a new issue