update: immich

This commit is contained in:
Patrick 2024-10-30 23:06:46 +01:00
parent eff9134f60
commit 2ff1a6d110
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F

View file

@ -6,7 +6,7 @@
... ...
}: }:
let let
version = "v1.113.1"; version = "v1.119.1";
immichDomain = "immich.${config.secrets.secrets.global.domains.web}"; immichDomain = "immich.${config.secrets.secrets.global.domains.web}";
ipImmichMachineLearning = "10.89.0.10"; ipImmichMachineLearning = "10.89.0.10";
@ -97,8 +97,6 @@ let
}; };
map = { map = {
enabled = true; enabled = true;
darkStyle = "";
lightStyle = "";
}; };
newVersionCheck.enabled = true; newVersionCheck.enabled = true;
passwordLogin.enabled = true; passwordLogin.enabled = true;
@ -127,7 +125,7 @@ let
DB_USERNAME = "postgres"; DB_USERNAME = "postgres";
IMMICH_VERSION = "${version}"; IMMICH_VERSION = "${version}";
UPLOAD_LOCATION = upload_folder; UPLOAD_LOCATION = upload_folder;
IMMICH_SERVER_URL = "http://${ipImmichServer}:3001/"; IMMICH_SERVER_URL = "http://${ipImmichServer}:2283/";
IMMICH_MACHINE_LEARNING_URL = "http://${ipImmichMachineLearning}:3003"; IMMICH_MACHINE_LEARNING_URL = "http://${ipImmichMachineLearning}:3003";
REDIS_HOSTNAME = ipImmichRedis; REDIS_HOSTNAME = ipImmichRedis;
IMMICH_CONFIG_FILE = "/immich.config.json"; IMMICH_CONFIG_FILE = "/immich.config.json";
@ -246,7 +244,7 @@ in
networking.nftables.chains.forward.into-immich-container = { networking.nftables.chains.forward.into-immich-container = {
after = [ "conntrack" ]; after = [ "conntrack" ];
rules = [ rules = [
"iifname elisabeth ip saddr ${nodes.elisabeth.config.wireguard.elisabeth.ipv4} tcp dport 3001 accept" "iifname elisabeth ip saddr ${nodes.elisabeth.config.wireguard.elisabeth.ipv4} tcp dport 2283 accept"
"iifname podman1 oifname lan accept" "iifname podman1 oifname lan accept"
]; ];
}; };
@ -332,7 +330,7 @@ in
"${upload_folder}:/usr/src/app/upload:rw" "${upload_folder}:/usr/src/app/upload:rw"
"${environment.DB_PASSWORD_FILE}:${environment.DB_PASSWORD_FILE}:ro" "${environment.DB_PASSWORD_FILE}:${environment.DB_PASSWORD_FILE}:ro"
]; ];
ports = [ "3000:3001/tcp" ]; ports = [ "3000:2283/tcp" ];
dependsOn = [ dependsOn = [
"immich_postgres" "immich_postgres"
"immich_redis" "immich_redis"