chore(dev): postgres max_connections=200 (#10246)

On machines with many cores, the elixir apps will crashloop because we
exceed the number of allowed postgres connections. This raises the limit
with virtually no downside except for a bit more memory usage.
This commit is contained in:
Jamil
2025-08-23 13:33:06 -04:00
committed by GitHub
parent cafe6554ff
commit b774dee41d

View File

@@ -3,7 +3,8 @@ services:
postgres:
# TODO: Enable pgaudit on dev instance. See https://github.com/pgaudit/pgaudit/issues/44#issuecomment-455090262
image: postgres:17
command: ["postgres", "-c", "wal_level=logical"]
command:
["postgres", "-c", "wal_level=logical", "-c", "max_connections=200"]
volumes:
- postgres-data:/var/lib/postgresql/data
environment: