From 284d2f7fdf37e95be78519e5d0aec7bb2f908df4 Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Mon, 22 Jan 2024 11:17:32 +0100 Subject: [PATCH] [bitnami/pgbouncer] Release 1.21.0-debian-11-r10 (#55238) Signed-off-by: Bitnami Containers --- bitnami/pgbouncer/1/debian-11/Dockerfile | 4 +- .../opt/bitnami/scripts/pgbouncer-env.sh | 2 +- bitnami/pgbouncer/README.md | 57 +++++++++---------- 3 files changed, 31 insertions(+), 32 deletions(-) diff --git a/bitnami/pgbouncer/1/debian-11/Dockerfile b/bitnami/pgbouncer/1/debian-11/Dockerfile index a675fd922cb6..80b3fba7412c 100644 --- a/bitnami/pgbouncer/1/debian-11/Dockerfile +++ b/bitnami/pgbouncer/1/debian-11/Dockerfile @@ -7,10 +7,10 @@ ARG TARGETARCH LABEL com.vmware.cp.artifact.flavor="sha256:1e1b4657a77f0d47e9220f0c37b9bf7802581b93214fff7d1bd2364c8bf22e8e" \ org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \ - org.opencontainers.image.created="2024-01-20T01:34:37Z" \ + org.opencontainers.image.created="2024-01-22T09:43:38Z" \ org.opencontainers.image.description="Application packaged by VMware, Inc" \ org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.ref.name="1.21.0-debian-11-r9" \ + org.opencontainers.image.ref.name="1.21.0-debian-11-r10" \ org.opencontainers.image.title="pgbouncer" \ org.opencontainers.image.vendor="VMware, Inc." \ org.opencontainers.image.version="1.21.0" diff --git a/bitnami/pgbouncer/1/debian-11/rootfs/opt/bitnami/scripts/pgbouncer-env.sh b/bitnami/pgbouncer/1/debian-11/rootfs/opt/bitnami/scripts/pgbouncer-env.sh index 103e646190c3..5b75fabc8c47 100644 --- a/bitnami/pgbouncer/1/debian-11/rootfs/opt/bitnami/scripts/pgbouncer-env.sh +++ b/bitnami/pgbouncer/1/debian-11/rootfs/opt/bitnami/scripts/pgbouncer-env.sh @@ -127,7 +127,7 @@ export PGBOUNCER_AUTH_HBA_FILE="${PGBOUNCER_AUTH_HBA_FILE:-}" export PGBOUNCER_STATS_USERS="${PGBOUNCER_STATS_USERS:-}" export PGBOUNCER_POOL_MODE="${PGBOUNCER_POOL_MODE:-}" export PGBOUNCER_INIT_SLEEP_TIME="${PGBOUNCER_INIT_SLEEP_TIME:-10}" -export PGBOUNCER_SERVER_FAST_CLOSE="${PGBOUNCER_SERVER_FAST_CLOSE:-0}" +export PGBOUNCER_SERVER_FAST_CLOSE="${PGBOUNCER_SERVER_FAST_CLOSE:-}" export PGBOUNCER_INIT_MAX_RETRIES="${PGBOUNCER_INIT_MAX_RETRIES:-10}" export PGBOUNCER_QUERY_WAIT_TIMEOUT="${PGBOUNCER_QUERY_WAIT_TIMEOUT:-}" export PGBOUNCER_MAX_CLIENT_CONN="${PGBOUNCER_MAX_CLIENT_CONN:-}" diff --git a/bitnami/pgbouncer/README.md b/bitnami/pgbouncer/README.md index 3a0703795812..bc359963a458 100644 --- a/bitnami/pgbouncer/README.md +++ b/bitnami/pgbouncer/README.md @@ -66,35 +66,34 @@ docker build -t bitnami/APP:latest . #### Customizable environment variables -| Name | Description | Default Value | -|---------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------| -| `PGBOUNCER_LOG_FILE` | PgBouncer log file. | `${PGBOUNCER_LOG_DIR}/pgbouncer.log` | -| `PGBOUNCER_DATABASE` | PgBouncer advertised database. | `postgres` | -| `PGBOUNCER_PORT` | PgBouncer port | `6432` | -| `PGBOUNCER_LISTEN_ADDRESS` | PgBouncer listen address | `0.0.0.0` | -| `PGBOUNCER_AUTH_TYPE` | PgBouncer authentication type | `scram-sha-256` | -| `PGBOUNCER_INIT_SLEEP_TIME` | PgBouncer initialization sleep time | `10` | -| `PGBOUNCER_SERVER_FAST_CLOSE` | Disconnect a server in session pooling mode immediately or after the end of the current transaction if it is in `close_needed` mode, rather than waiting for the session end. | `**0**` | -| `PGBOUNCER_INIT_MAX_RETRIES` | PgBouncer initialization maximum retries | `10` | -| `PGBOUNCER_IGNORE_STARTUP_PARAMETERS` | Ignore startup parameters in PgBouncer | `extra_float_digits` | -| `PGBOUNCER_STATS_PERIOD` | PgBouncer stats period | `60` | -| `PGBOUNCER_FAIL_ON_INVALID_DSN_FILE` | Whether init process should fail if any DSN_FILE is not found. | `false` | -| `PGBOUNCER_CLIENT_TLS_SSLMODE` | PgBouncer authentication type | `disable` | -| `PGBOUNCER_CLIENT_TLS_CIPHERS` | PgBouncer TLS authentication ciphers | `fast` | -| `PGBOUNCER_SERVER_TLS_SSLMODE` | PgBouncer server authentication type | `disable` | -| `PGBOUNCER_SERVER_TLS_PROTOCOLS` | PgBouncer server TLS authentication protocol | `secure` | -| `PGBOUNCER_SERVER_TLS_CIPHERS` | PgBouncer server TLS authentication ciphers | `fast` | -| `POSTGRESQL_USERNAME` | PostgreSQL backend default username | `postgres` | -| `POSTGRESQL_DATABASE` | Default PostgreSQL database | `${PGBOUNCER_DATABASE}` | -| `POSTGRESQL_HOST` | PostgreSQL backend hostname | `postgresql` | -| `POSTGRESQL_PORT` | PostgreSQL backend port | `5432` | -| `PGBOUNCER_SET_DATABASE_USER` | Whether to include the backend PostgreSQL username in the database string. | `no` | -| `PGBOUNCER_SET_DATABASE_PASSWORD` | Whether to include the backend PostgreSQL password in the database string. | `no` | -| `PGBOUNCER_FORCE_INITSCRIPTS` | Force the init scripts running even if it is not in the first start. | `false` | -| `PGBOUNCER_SOCKET_DIR` | PgBouncer socket dir | `/tmp/` | -| `PGBOUNCER_SOCKET_MODE` | PgBouncer socket mode | `0777` | -| `PGBOUNCER_DAEMON_USER` | PostgreSQL daemon user | `pgbouncer` | -| `PGBOUNCER_DAEMON_GROUP` | PostgreSQL daemon group | `pgbouncer` | +| Name | Description | Default Value | +|---------------------------------------|----------------------------------------------------------------------------|--------------------------------------| +| `PGBOUNCER_LOG_FILE` | PgBouncer log file. | `${PGBOUNCER_LOG_DIR}/pgbouncer.log` | +| `PGBOUNCER_DATABASE` | PgBouncer advertised database. | `postgres` | +| `PGBOUNCER_PORT` | PgBouncer port | `6432` | +| `PGBOUNCER_LISTEN_ADDRESS` | PgBouncer listen address | `0.0.0.0` | +| `PGBOUNCER_AUTH_TYPE` | PgBouncer authentication type | `scram-sha-256` | +| `PGBOUNCER_INIT_SLEEP_TIME` | PgBouncer initialization sleep time | `10` | +| `PGBOUNCER_INIT_MAX_RETRIES` | PgBouncer initialization maximum retries | `10` | +| `PGBOUNCER_IGNORE_STARTUP_PARAMETERS` | Ignore startup parameters in PgBouncer | `extra_float_digits` | +| `PGBOUNCER_STATS_PERIOD` | PgBouncer stats period | `60` | +| `PGBOUNCER_FAIL_ON_INVALID_DSN_FILE` | Whether init process should fail if any DSN_FILE is not found. | `false` | +| `PGBOUNCER_CLIENT_TLS_SSLMODE` | PgBouncer authentication type | `disable` | +| `PGBOUNCER_CLIENT_TLS_CIPHERS` | PgBouncer TLS authentication ciphers | `fast` | +| `PGBOUNCER_SERVER_TLS_SSLMODE` | PgBouncer server authentication type | `disable` | +| `PGBOUNCER_SERVER_TLS_PROTOCOLS` | PgBouncer server TLS authentication protocol | `secure` | +| `PGBOUNCER_SERVER_TLS_CIPHERS` | PgBouncer server TLS authentication ciphers | `fast` | +| `POSTGRESQL_USERNAME` | PostgreSQL backend default username | `postgres` | +| `POSTGRESQL_DATABASE` | Default PostgreSQL database | `${PGBOUNCER_DATABASE}` | +| `POSTGRESQL_HOST` | PostgreSQL backend hostname | `postgresql` | +| `POSTGRESQL_PORT` | PostgreSQL backend port | `5432` | +| `PGBOUNCER_SET_DATABASE_USER` | Whether to include the backend PostgreSQL username in the database string. | `no` | +| `PGBOUNCER_SET_DATABASE_PASSWORD` | Whether to include the backend PostgreSQL password in the database string. | `no` | +| `PGBOUNCER_FORCE_INITSCRIPTS` | Force the init scripts running even if it is not in the first start. | `false` | +| `PGBOUNCER_SOCKET_DIR` | PgBouncer socket dir | `/tmp/` | +| `PGBOUNCER_SOCKET_MODE` | PgBouncer socket mode | `0777` | +| `PGBOUNCER_DAEMON_USER` | PostgreSQL daemon user | `pgbouncer` | +| `PGBOUNCER_DAEMON_GROUP` | PostgreSQL daemon group | `pgbouncer` | #### Read-only environment variables