mirror of
https://github.com/bitnami/containers.git
synced 2026-03-15 14:58:17 +08:00
1.16.1-debian-10-r24 release
This commit is contained in:
@@ -25,7 +25,7 @@ COPY rootfs /
|
||||
RUN /opt/bitnami/scripts/locales/add-extra-locales.sh
|
||||
RUN /opt/bitnami/scripts/pgbouncer/postunpack.sh
|
||||
ENV BITNAMI_APP_NAME="pgbouncer" \
|
||||
BITNAMI_IMAGE_VERSION="1.16.1-debian-10-r23" \
|
||||
BITNAMI_IMAGE_VERSION="1.16.1-debian-10-r24" \
|
||||
LANG="en_US.UTF-8" \
|
||||
LANGUAGE="en_US:en" \
|
||||
NSS_WRAPPER_LIB="/opt/bitnami/common/lib/libnss_wrapper.so" \
|
||||
|
||||
@@ -217,16 +217,12 @@ pgbouncer_initialize() {
|
||||
if [[ "$PGBOUNCER_DATABASE" != "*" ]]; then
|
||||
database_value+=" dbname=$POSTGRESQL_DATABASE"
|
||||
fi
|
||||
if ! is_empty_value "$PGBOUNCER_AUTH_USER"; then
|
||||
database_value+=" auth_user=$PGBOUNCER_AUTH_USER"
|
||||
fi
|
||||
ini-file set --section "databases" --key "$PGBOUNCER_DATABASE" --value "$database_value" "$PGBOUNCER_CONF_FILE"
|
||||
local -r -a key_value_pairs=(
|
||||
"listen_port:${PGBOUNCER_PORT}"
|
||||
"listen_addr:${PGBOUNCER_LISTEN_ADDRESS}"
|
||||
"auth_file:${PGBOUNCER_AUTH_FILE}"
|
||||
"auth_type:${PGBOUNCER_AUTH_TYPE}"
|
||||
"auth_query:${PGBOUNCER_AUTH_QUERY}"
|
||||
"pidfile:${PGBOUNCER_PID_FILE}"
|
||||
"logfile:${PGBOUNCER_LOG_FILE}"
|
||||
"admin_users:${POSTGRESQL_USERNAME}"
|
||||
|
||||
@@ -25,8 +25,6 @@ pgbouncer_env_vars=(
|
||||
PGBOUNCER_PORT
|
||||
PGBOUNCER_LISTEN_ADDRESS
|
||||
PGBOUNCER_AUTH_TYPE
|
||||
PGBOUNCER_AUTH_USER
|
||||
PGBOUNCER_AUTH_QUERY
|
||||
PGBOUNCER_POOL_MODE
|
||||
PGBOUNCER_INIT_SLEEP_TIME
|
||||
PGBOUNCER_INIT_MAX_RETRIES
|
||||
@@ -91,8 +89,6 @@ export PGBOUNCER_DATABASE="${PGBOUNCER_DATABASE:-postgres}"
|
||||
export PGBOUNCER_PORT="${PGBOUNCER_PORT:-6432}"
|
||||
export PGBOUNCER_LISTEN_ADDRESS="${PGBOUNCER_LISTEN_ADDRESS:-0.0.0.0}"
|
||||
export PGBOUNCER_AUTH_TYPE="${PGBOUNCER_AUTH_TYPE:-md5}"
|
||||
export PGBOUNCER_AUTH_USER="${PGBOUNCER_AUTH_USER:-}"
|
||||
export PGBOUNCER_AUTH_QUERY="${PGBOUNCER_AUTH_QUERY:-}"
|
||||
export PGBOUNCER_POOL_MODE="${PGBOUNCER_POOL_MODE:-}"
|
||||
export PGBOUNCER_INIT_SLEEP_TIME="${PGBOUNCER_INIT_SLEEP_TIME:-10}"
|
||||
export PGBOUNCER_INIT_MAX_RETRIES="${PGBOUNCER_INIT_MAX_RETRIES:-10}"
|
||||
|
||||
@@ -43,7 +43,7 @@ Non-root container images add an extra layer of security and are generally recom
|
||||
Learn more about the Bitnami tagging policy and the difference between rolling tags and immutable tags [in our documentation page](https://docs.bitnami.com/tutorials/understand-rolling-tags-containers/).
|
||||
|
||||
|
||||
* [`1`, `1-debian-10`, `1.16.1`, `1.16.1-debian-10-r23`, `latest` (1/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-pgbouncer/blob/1.16.1-debian-10-r23/1/debian-10/Dockerfile)
|
||||
* [`1`, `1-debian-10`, `1.16.1`, `1.16.1-debian-10-r24`, `latest` (1/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-pgbouncer/blob/1.16.1-debian-10-r24/1/debian-10/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/pgbouncer GitHub repo](https://github.com/bitnami/bitnami-docker-pgbouncer).
|
||||
|
||||
@@ -114,8 +114,6 @@ To expose the same database name as the backend, set `PGBOUNCER_DATABASE="$POSTG
|
||||
|
||||
### Other options
|
||||
|
||||
- `PGBOUNCER_AUTH_USER`: PgBouncer will use this user to connect to the database and query the PostgreSQL backend for a user and password. Default: **disabled**.
|
||||
- `PGBOUNCER_AUTH_QUERY`: PgBouncer will use this query to connect to the database and query the PostgreSQL backend for a user and password. Default: **disabled**.
|
||||
- `PGBOUNCER_POOL_MODE` : PgBouncer pool mode. Allowed values: session, transaction and statement. Default: **session**.
|
||||
- `PGBOUNCER_INIT_SLEEP_TIME` : PgBouncer initialization sleep time. Default: **10**.
|
||||
- `PGBOUNCER_INIT_MAX_RETRIES` : PgBouncer initialization maximum retries. Default: **10**.
|
||||
|
||||
Reference in New Issue
Block a user