From 2cae0801bb38b923f8a1b70390183b5d3827e3c7 Mon Sep 17 00:00:00 2001 From: niten Date: Tue, 29 Aug 2023 22:47:10 -0700 Subject: [PATCH] Increase max connections to postgres --- authentik-container.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/authentik-container.nix b/authentik-container.nix index 7f4e73f..3c69d4f 100644 --- a/authentik-container.nix +++ b/authentik-container.nix @@ -161,6 +161,7 @@ in { postgres.service = { image = cfg.images.postgres; restart = "always"; + command = "-c 'max_connections=300'"; volumes = [ "${cfg.state-directory}/postgres:/var/lib/postgresql/data" ]; healthcheck = {