Switch Immich container to PostgreSQL 16
This commit is contained in:
parent
7bf071d0a1
commit
c259a93c7a
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue