mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 01:57:35 -03:30
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:
parent
62c773e912
commit
560b952dd6
@ -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 }}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user