Switch Immich container to PostgreSQL 16

This commit is contained in:
Joshua Bell 2026-02-08 22:41:54 -06:00
parent 7bf071d0a1
commit c259a93c7a

View file

@ -32,7 +32,7 @@ let
{ {
host = "${hostVarLibDir}/postgres"; host = "${hostVarLibDir}/postgres";
# Adjust based on container postgres data dir # Adjust based on container postgres data dir
container = "/var/lib/postgresql/17"; container = "/var/lib/postgresql/16";
user = "postgres"; user = "postgres";
uid = config.ids.uids.postgres; uid = config.ids.uids.postgres;
gid = config.ids.gids.postgres; gid = config.ids.gids.postgres;
@ -171,7 +171,7 @@ in
services.postgresql = { services.postgresql = {
enable = true; enable = true;
package = pkgs.postgresql_17.withPackages (ps: [ ps.pgvecto-rs ]); package = pkgs.postgresql_16.withPackages (ps: [ ps.pgvecto-rs ]);
enableJIT = true; enableJIT = true;
authentication = '' authentication = ''
local all all trust local all all trust