mirror of
https://github.com/bitnami/containers.git
synced 2026-04-02 23:38:16 +08:00
[bitnami/pgbouncer] Release 1.19.1-debian-11-r9 (#38767)
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
@@ -1,12 +1,15 @@
|
||||
# Copyright VMware, Inc.
|
||||
# SPDX-License-Identifier: APACHE-2.0
|
||||
|
||||
FROM docker.io/bitnami/minideb:bullseye
|
||||
|
||||
ARG TARGETARCH
|
||||
|
||||
LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \
|
||||
org.opencontainers.image.created="2023-06-21T09:23:50Z" \
|
||||
org.opencontainers.image.created="2023-06-24T09:43:40Z" \
|
||||
org.opencontainers.image.description="Application packaged by VMware, Inc" \
|
||||
org.opencontainers.image.licenses="Apache-2.0" \
|
||||
org.opencontainers.image.ref.name="1.19.1-debian-11-r8" \
|
||||
org.opencontainers.image.ref.name="1.19.1-debian-11-r9" \
|
||||
org.opencontainers.image.title="pgbouncer" \
|
||||
org.opencontainers.image.vendor="VMware, Inc." \
|
||||
org.opencontainers.image.version="1.19.1"
|
||||
|
||||
@@ -42,7 +42,7 @@ ensure_dir_exists() {
|
||||
local owner_user="${2:-}"
|
||||
local owner_group="${3:-}"
|
||||
|
||||
mkdir -p "${dir}"
|
||||
[ -d "${dir}" ] || mkdir -p "${dir}"
|
||||
if [[ -n $owner_user ]]; then
|
||||
owned_by "$dir" "$owner_user" "$owner_group"
|
||||
fi
|
||||
|
||||
@@ -64,7 +64,7 @@ pgbouncer_validate() {
|
||||
fi
|
||||
fi
|
||||
|
||||
# HBA Checks
|
||||
# HBA Checks
|
||||
if [[ "$PGBOUNCER_AUTH_TYPE" == "hba" ]] ; then
|
||||
if [[ -z "$PGBOUNCER_AUTH_HBA_FILE" ]]; then
|
||||
print_validation_error "A hba file was not provided. You need to set this value when specifying auth_type to hba"
|
||||
|
||||
@@ -131,7 +131,6 @@ To expose the same database name as the backend, set `PGBOUNCER_DATABASE="$POSTG
|
||||
* `PGBOUNCER_DEFAULT_POOL_SIZE` : PgBouncer maximum server connections to allow per user/database pair. Default: **20**.
|
||||
* `PGBOUNCER_MIN_POOL_SIZE` : PgBouncer has at least this amount of open connections. Default: **0 (disabled)**.
|
||||
* `PGBOUNCER_RESERVE_POOL_SIZE` : PgBouncer allows this amount of additional connections. Default: **0 (disabled)**.
|
||||
* `PGBOUNCER_RESERVE_POOL_TIMEOUT` : If a client has not been serviced in this time, use additional connections from the reserve pool. 0 disables. Default: **5.0** [seconds].
|
||||
* `PGBOUNCER_IGNORE_STARTUP_PARAMETERS`: you can use this to set `ignore_startup_parameters` in the auto-generated `pgbouncer.ini`. This can be useful for solving certain connection issues. See <https://www.pgbouncer.org/> config.html for more details.
|
||||
* `PGBOUNCER_SERVER_IDLE_TIMEOUT`: PgBouncer maximum time in seconds a server connection can be idle. If 0 then the timeout is disabled. Default: **600**
|
||||
* `PGBOUNCER_SERVER_RESET_QUERY`: PgBouncer query sent to server on connection release before making it available to other clients. Default: **DISCARD ALL**
|
||||
|
||||
Reference in New Issue
Block a user