Increase max connections to postgres

This commit is contained in:
2023-08-29 22:47:10 -07:00
parent c2513cafdc
commit 2cae0801bb
+1
View File
@@ -161,6 +161,7 @@ in {
postgres.service = { postgres.service = {
image = cfg.images.postgres; image = cfg.images.postgres;
restart = "always"; restart = "always";
command = "-c 'max_connections=300'";
volumes = volumes =
[ "${cfg.state-directory}/postgres:/var/lib/postgresql/data" ]; [ "${cfg.state-directory}/postgres:/var/lib/postgresql/data" ];
healthcheck = { healthcheck = {