I keep getting remaining connection slots are reserved for non-replication superuser connections
errors when I run postgres:latest
in Docker with Docker Compose.
How can I increase the maximum connections Postgres allows with Docker-Compose?
Note: This is not about Postgres alone, but rather how to pass the values to the official Postgres image on Docker.