mirror of
https://github.com/RipleyBooya/ssh-tunnel.git
synced 2025-12-15 17:18:37 +01:00
Create pgbouncer.ini
This commit is contained in:
parent
64e58b389a
commit
320117f1a8
1 changed files with 17 additions and 0 deletions
17
pgbouncer.ini
Normal file
17
pgbouncer.ini
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
# Configuration PgBouncer
|
||||||
|
[databases]
|
||||||
|
* = host=127.0.0.1 port=15432 auth_user=postgres pool_mode=session max_client_conn=100
|
||||||
|
|
||||||
|
[pgbouncer]
|
||||||
|
listen_addr = 0.0.0.0
|
||||||
|
listen_port = 5432
|
||||||
|
auth_type = md5
|
||||||
|
auth_file = /etc/pgbouncer/userlist.txt
|
||||||
|
admin_users = postgres
|
||||||
|
max_client_conn = 200
|
||||||
|
default_pool_size = 20
|
||||||
|
reserve_pool_size = 10
|
||||||
|
pool_mode = transaction
|
||||||
|
server_reset_query = DISCARD ALL
|
||||||
|
logfile = /var/log/pgbouncer.log
|
||||||
|
pidfile = /var/run/pgbouncer.pid
|
||||||
Loading…
Add table
Reference in a new issue