feat(immich): pin v1.90.2

There frequently are breaking changes with the release tag.
And there is an upcoming change that requires a new postgresql plugin.
To avoid breakage, I'm pinning this version for now.
This commit is contained in:
Felix Schröter 2023-12-09 01:50:35 +01:00
parent 816ded51de
commit f412f5e339
Signed by: felschr
GPG key ID: 671E39E6744C807D

View file

@ -1,6 +1,7 @@
{ config, lib, pkgs, ... }: { config, pkgs, ... }:
let let
tag = "v1.90.2";
dataDir = "/var/lib/immich"; dataDir = "/var/lib/immich";
typesenseDataDir = "/var/lib/immich/typesense/data"; typesenseDataDir = "/var/lib/immich/typesense/data";
uploadDir = "${dataDir}/upload"; uploadDir = "${dataDir}/upload";
@ -95,7 +96,7 @@ in {
virtualisation.oci-containers.containers = { virtualisation.oci-containers.containers = {
immich-server = immichBase // { immich-server = immichBase // {
image = "ghcr.io/immich-app/immich-server:release"; image = "ghcr.io/immich-app/immich-server:${tag}";
ports = [ "2283:3001" ]; ports = [ "2283:3001" ];
entrypoint = "/bin/sh"; entrypoint = "/bin/sh";
cmd = [ "./start-server.sh" ]; cmd = [ "./start-server.sh" ];
@ -104,7 +105,7 @@ in {
}; };
immich-microservices = immichBase // { immich-microservices = immichBase // {
image = "ghcr.io/immich-app/immich-server:release"; image = "ghcr.io/immich-app/immich-server:${tag}";
entrypoint = "/bin/sh"; entrypoint = "/bin/sh";
cmd = [ "./start-microservices.sh" ]; cmd = [ "./start-microservices.sh" ];
volumes = [ "${uploadDir}:/usr/src/app/upload" ]; volumes = [ "${uploadDir}:/usr/src/app/upload" ];
@ -112,7 +113,7 @@ in {
}; };
immich-machine-learning = immichBase // { immich-machine-learning = immichBase // {
image = "ghcr.io/immich-app/immich-machine-learning:release"; image = "ghcr.io/immich-app/immich-machine-learning:${tag}";
volumes = [ "${uploadDir}:/usr/src/app/upload" ]; volumes = [ "${uploadDir}:/usr/src/app/upload" ];
}; };