#Increase number of Postgres Clients
10 messages · Page 1 of 1 (latest)
Project ID: N/A
how many connections would you say you need? the default max is 100
btw, i would recommend you to use something like pgbouncer instead of increasing the connection.
a pgbouncer template would be nice too 👀
seems plenty easy
https://hub.docker.com/r/bitnami/pgbouncer/
but op, if what should be done doesnt concern you, use this as the start command
docker-entrypoint.sh postgres -c max_connections=300 -c shared_buffers=80MB --port=5432
Gotcha, I only have 5 replicas of a project that uses the db through prisma so not sure how im hitting 100 connections. Ill have to check through my code to see whats going wrong