diff --git a/systems/jeeves/docker/postgresql.nix b/systems/jeeves/docker/postgresql.nix index f405432..b67ea92 100644 --- a/systems/jeeves/docker/postgresql.nix +++ b/systems/jeeves/docker/postgresql.nix @@ -13,20 +13,20 @@ in }; }; - # virtualisation.oci-containers.containers = { - # postgres = { - # image = "postgres:16"; - # ports = [ "5432:5432" ]; - # volumes = [ "${vars.media_database}/postgres:/var/lib/postgresql/data" ]; - # environment = { - # POSTGRES_USER = "admin"; - # POSTGRES_DB = "archive"; - # POSTGRES_INITDB_ARGS = "--auth-host=scram-sha-256"; - # }; - # environmentFiles = [/root/secrets/docker/postgres]; - # autoStart = true; - # user = "postgres:postgres"; - # }; - # }; + virtualisation.oci-containers.containers = { + postgres = { + image = "postgres:17"; + ports = [ "5432:5432" ]; + volumes = [ "${vars.media_database}/postgres:/var/lib/postgresql/data" ]; + environment = { + POSTGRES_USER = "admin"; + POSTGRES_DB = "archive"; + POSTGRES_INITDB_ARGS = "--auth-host=scram-sha-256"; + }; + environmentFiles = [/root/secrets/docker/postgres]; + autoStart = true; + user = "postgres:postgres"; + }; + }; }