From b774dee41dbdd0adfe4893b30d2c10f7f39bb8fe Mon Sep 17 00:00:00 2001 From: Jamil Date: Sat, 23 Aug 2025 13:33:06 -0400 Subject: [PATCH] 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. --- docker-compose.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 89582e5c9..f4580b462 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: