gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-grid5k] 26/73: add pgbouncer config


From: gnunet
Subject: [taler-grid5k] 26/73: add pgbouncer config
Date: Tue, 14 Dec 2021 15:10:08 +0100

This is an automated email from the git hooks/post-receive script.

marco-boss pushed a commit to branch master
in repository grid5k.

commit e0ff0fc072eec479bee5c547427ac9398cb3558d
Author: Boss Marco <bossm8@bfh.ch>
AuthorDate: Tue Nov 30 12:15:21 2021 +0100

    add pgbouncer config
---
 configs/etc/pgbouncer/pgbouncer.ini | 20 ++++++++++++++++++++
 configs/etc/pgbouncer/userslist.txt |  1 +
 2 files changed, 21 insertions(+)

diff --git a/configs/etc/pgbouncer/pgbouncer.ini 
b/configs/etc/pgbouncer/pgbouncer.ini
new file mode 100644
index 0000000..f264b8f
--- /dev/null
+++ b/configs/etc/pgbouncer/pgbouncer.ini
@@ -0,0 +1,20 @@
+[databases]
+
+<DB_NAME_HERE> = dbname=<DB_NAME_HERE> host=localhost
+
+[pgbouncer]
+
+listen_addr = *
+listen_port = 6432
+
+auth_type = md5
+auth_file = /etc/pgbouncer/userlist.txt
+
+pool_mode = session
+max_client_conn = 100
+default_pool_size = 20
+
+logfile = /var/log/postgresql/pgbouncer.log
+pidfile = /var/run/postgresql/pgbouncer.pid
+
+unix_socket_dir = /var/run/postgresql
diff --git a/configs/etc/pgbouncer/userslist.txt 
b/configs/etc/pgbouncer/userslist.txt
new file mode 100644
index 0000000..1436a38
--- /dev/null
+++ b/configs/etc/pgbouncer/userslist.txt
@@ -0,0 +1 @@
+"<DB_USER_HERE>" "<DB_PASSWORD_HERE>"

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]