Increase max connections to postgres
This commit is contained in:
parent
c2513cafdc
commit
2cae0801bb
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in New Issue