mirror of https://gitlab.com/tildes/tildes.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
459 B
21 lines
459 B
[databases]
|
|
{% for line in accumulator['pgbouncer_db_lines'] -%}
|
|
{{ line }}
|
|
{% endfor %}
|
|
|
|
[pgbouncer]
|
|
logfile = /var/log/postgresql/pgbouncer.log
|
|
log_connections = 0
|
|
log_disconnections = 0
|
|
|
|
pidfile = /var/run/postgresql/pgbouncer.pid
|
|
|
|
listen_port = 6432
|
|
|
|
unix_socket_dir = /var/run/postgresql
|
|
|
|
auth_type = hba
|
|
auth_file = /etc/pgbouncer/userlist.txt
|
|
auth_hba_file = /etc/postgresql/{{ pillar['postgresql_version'] }}/main/pg_hba.conf
|
|
|
|
pool_mode = transaction
|