feat(pgbouncer): set postgresql database as pgbouncer database if it's not set (#35677)
* feat(pgbouncer): set postgresql database as pgbouncer database if it's not set Signed-off-by: Ihor Hrytskiv <ihor.hrytskiv@macpaw.com> * Update bitnami/pgbouncer/1/debian-11/rootfs/opt/bitnami/scripts/pgbouncer-env.sh Co-authored-by: Juan José Martos <jotamartos@gmail.com> Signed-off-by: ihor-hrytskiv <39990360+ihor-hrytskiv@users.noreply.github.com> --------- Signed-off-by: Ihor Hrytskiv <ihor.hrytskiv@macpaw.com> Signed-off-by: ihor-hrytskiv <39990360+ihor-hrytskiv@users.noreply.github.com> Co-authored-by: Juan José Martos <jotamartos@gmail.com>
This commit is contained in:
parent
94bd18b0c8
commit
2e522f0571
|
|
@ -168,7 +168,7 @@ export PGBOUNCER_CLIENT_IDLE_TIMEOUT="${PGBOUNCER_CLIENT_IDLE_TIMEOUT:-}"
|
|||
# PostgreSQL backend settings
|
||||
export POSTGRESQL_USERNAME="${POSTGRESQL_USERNAME:-postgres}"
|
||||
export POSTGRESQL_PASSWORD="${POSTGRESQL_PASSWORD:-}"
|
||||
export POSTGRESQL_DATABASE="${POSTGRESQL_DATABASE:-postgres}"
|
||||
export POSTGRESQL_DATABASE="${POSTGRESQL_DATABASE:-${PGBOUNCER_DATABASE}}"
|
||||
export POSTGRESQL_HOST="${POSTGRESQL_HOST:-postgresql}"
|
||||
export POSTGRESQL_PORT="${POSTGRESQL_PORT:-5432}"
|
||||
export PGBOUNCER_SET_DATABASE_USER="${PGBOUNCER_SET_DATABASE_USER:-no}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue