Make DB max connections configurable in dev env

This was causing me issues when using multiple nodes in the dev
environment
This commit is contained in:
Elijah DeLee 2022-10-04 12:20:44 -04:00 committed by Rebeccah
parent 62c773e912
commit 560b952dd6
No known key found for this signature in database
GPG Key ID: A102D27DFFAF3552

View File

@ -180,7 +180,7 @@ services:
image: postgres:12
container_name: tools_postgres_1
# additional logging settings for postgres can be found https://www.postgresql.org/docs/current/runtime-config-logging.html
command: postgres -c log_destination=stderr -c log_min_messages=info -c log_min_duration_statement={{ pg_log_min_duration_statement|default(1000) }}
command: postgres -c log_destination=stderr -c log_min_messages=info -c log_min_duration_statement={{ pg_log_min_duration_statement|default(1000) }} -c max_connections={{ pg_max_connections|default(1024) }}
environment:
POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_USER: {{ pg_username }}