1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-11 07:10:39 +02:00

chore: update immich

This commit is contained in:
oddlama 2024-11-13 19:50:38 +01:00
parent 535ae1f94c
commit 26746d07d6
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A

View file

@ -107,7 +107,7 @@
processedConfigFile = "/run/agenix/immich.config.json"; processedConfigFile = "/run/agenix/immich.config.json";
version = "v1.117.0"; version = "v1.119.1";
environment = { environment = {
DB_DATABASE_NAME = "immich"; DB_DATABASE_NAME = "immich";
DB_HOSTNAME = ipImmichPostgres; DB_HOSTNAME = ipImmichPostgres;
@ -115,7 +115,7 @@
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";
@ -174,8 +174,8 @@ in {
networking.nftables.chains.forward.into-immich-container = { networking.nftables.chains.forward.into-immich-container = {
after = ["conntrack"]; after = ["conntrack"];
rules = [ rules = [
"iifname proxy-sentinel ip saddr ${sentinelCfg.wireguard.proxy-sentinel.ipv4} tcp dport 3001 accept" "iifname proxy-sentinel ip saddr ${sentinelCfg.wireguard.proxy-sentinel.ipv4} tcp dport 2283 accept"
"iifname proxy-home ip saddr ${wardWebProxyCfg.wireguard.proxy-home.ipv4} tcp dport 3001 accept" "iifname proxy-home ip saddr ${wardWebProxyCfg.wireguard.proxy-home.ipv4} tcp dport 2283 accept"
"iifname podman1 oifname lan accept" "iifname podman1 oifname lan accept"
]; ];
}; };
@ -335,7 +335,7 @@ in {
"${upload_folder}:/usr/src/app/upload:rw" "${upload_folder}:/usr/src/app/upload:rw"
]; ];
ports = [ ports = [
"2283:3001/tcp" "2283:2283/tcp"
]; ];
dependsOn = [ dependsOn = [
"immich_postgres" "immich_postgres"