mirror of
https://github.com/RipleyBooya/ssh-tunnel.git
synced 2025-12-13 08:18:39 +01:00
Update pgbouncer.ini
This commit is contained in:
parent
2d7e21c84e
commit
a25c999f23
1 changed files with 4 additions and 5 deletions
|
|
@ -1,8 +1,7 @@
|
||||||
# Configuration PgBouncer avec variables d'environnement
|
|
||||||
[databases]
|
[databases]
|
||||||
${PG_DB1} = host=127.0.0.1 port=15432 user=${PG_USER1} password=${PG_PW1} pool_mode=session
|
${PG_DB1} = host=127.0.0.1 port=15432 user=${PG_USER1} password=${PG_PW1} pool_mode=session
|
||||||
${PG_DB2} = host=127.0.0.1 port=15432 user=${PG_USER2} password=${PG_PW2} pool_mode=session
|
${PG_DB2} = host=127.0.0.1 port=15432 user=${PG_USER2} password=${PG_PW2} pool_mode=session
|
||||||
* = host=127.0.0.1 port=15432 user=${PG_DEFAULT_USER} password=${PG_DEFAULT_PW} pool_mode=session
|
* = host=127.0.0.1 port=15432 user=${PG_DEFAULT_USER} password=${PG_DEFAULT_PW} pool_mode=session
|
||||||
|
|
||||||
[pgbouncer]
|
[pgbouncer]
|
||||||
listen_addr = 0.0.0.0
|
listen_addr = 0.0.0.0
|
||||||
|
|
@ -17,4 +16,4 @@ server_reset_query = DISCARD ALL
|
||||||
logfile = /var/log/pgbouncer.log
|
logfile = /var/log/pgbouncer.log
|
||||||
pidfile = /var/run/pgbouncer.pid
|
pidfile = /var/run/pgbouncer.pid
|
||||||
|
|
||||||
# ⚠️ Variables d'environnement requises ! (chargées depuis `.env`)
|
# ⚠️ Les valeurs sont définies dans le fichier .env
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue