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 = {