diff --git a/bitnami/pgbouncer/1/debian-12/Dockerfile b/bitnami/pgbouncer/1/debian-12/Dockerfile index b69679966a6ff..23d6d15ac2d58 100644 --- a/bitnami/pgbouncer/1/debian-12/Dockerfile +++ b/bitnami/pgbouncer/1/debian-12/Dockerfile @@ -7,11 +7,11 @@ ARG TARGETARCH LABEL com.vmware.cp.artifact.flavor="sha256:c50c90cfd9d12b445b011e6ad529f1ad3daea45c26d20b00732fae3cd71f6a83" \ org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \ - org.opencontainers.image.created="2024-07-05T10:57:18Z" \ + org.opencontainers.image.created="2024-07-09T15:13:36Z" \ org.opencontainers.image.description="Application packaged by Broadcom, Inc." \ org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/pgbouncer/README.md" \ org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.ref.name="1.23.0-debian-12-r1" \ + org.opencontainers.image.ref.name="1.23.0-debian-12-r2" \ org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/pgbouncer" \ org.opencontainers.image.title="pgbouncer" \ org.opencontainers.image.vendor="Broadcom, Inc." \ diff --git a/bitnami/pgbouncer/README.md b/bitnami/pgbouncer/README.md index bf1b6a8285418..45a3d87dcc345 100644 --- a/bitnami/pgbouncer/README.md +++ b/bitnami/pgbouncer/README.md @@ -66,75 +66,75 @@ docker build -t bitnami/APP:latest . #### Customizable environment variables -| Name | Description | Default Value | -|---------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------| -| `PGBOUNCER_LOG_FILE` | If set, log PgBouncer output to log file in addition to stdout. | `nil` | -| `PGBOUNCER_DATABASE` | PgBouncer advertised database. | `postgres` | -| `PGBOUNCER_PORT` | PgBouncer port | `6432` | -| `PGBOUNCER_LISTEN_ADDRESS` | PgBouncer listen address | `0.0.0.0` | -| `PGBOUNCER_AUTH_USER` | PgBouncer authentication user | `nil` | -| `PGBOUNCER_AUTH_QUERY` | PgBouncer authentication query | `nil` | -| `PGBOUNCER_AUTH_TYPE` | PgBouncer authentication type | `scram-sha-256` | -| `PGBOUNCER_AUTH_HBA_FILE` | HBA configuration file to use | `nil` | -| `PGBOUNCER_STATS_USERS` | PgBouncer comma-separated list of database users that are allowed to connect and run read-only queries. | `nil` | -| `PGBOUNCER_POOL_MODE` | PgBouncer pool mode. Allowed values: session (default), transaction and statement. | `nil` | -| `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 (default: 0). | `0` | -| `PGBOUNCER_INIT_MAX_RETRIES` | PgBouncer initialization maximum retries | `10` | -| `PGBOUNCER_QUERY_WAIT_TIMEOUT` | PgBouncer maximum time queries are allowed to spend waiting for execution (default: 120). | `nil` | -| `PGBOUNCER_MAX_CLIENT_CONN` | PgBouncer maximum number of client connections allowed (default: 120). | `nil` | -| `PGBOUNCER_MAX_DB_CONNECTIONS` | PgBouncer maximum number of database connections allowed (default: 0). | `nil` | -| `PGBOUNCER_IDLE_TRANSACTION_TIMEOUT` | PgBouncer maximum time for a client to be in 'idle in transaction' state (default: 0.0). | `nil` | -| `PGBOUNCER_SERVER_IDLE_TIMEOUT` | PgBouncer maximum time in seconds a server connection can be idle. If 0 then the timeout is disabled (default: 600). | `nil` | -| `PGBOUNCER_SERVER_RESET_QUERY` | PgBouncer query sent to server on connection release before making it available to other clients (default: DISCARD ALL). | `nil` | -| `PGBOUNCER_DEFAULT_POOL_SIZE` | PgBouncer maximum server connections to allow per user/database pair (default: 20). | `nil` | -| `PGBOUNCER_MIN_POOL_SIZE` | PgBouncer has at least this amount of open connections (default: 0). | `nil` | -| `PGBOUNCER_RESERVE_POOL_SIZE` | PgBouncer allows this amount of additional connections (default: 0). | `nil` | -| `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]. | `nil` | -| `PGBOUNCER_IGNORE_STARTUP_PARAMETERS` | Ignore startup parameters in PgBouncer | `extra_float_digits` | -| `PGBOUNCER_STATS_PERIOD` | PgBouncer stats period | `60` | -| `PGBOUNCER_MAX_PREPARED_STATEMENTS` | PgBouncer maximum number of cached prepared statements (default: 0). | `nil` | -| `PGBOUNCER_EXTRA_FLAGS` | Extra flags for PgBouncer initialization | `nil` | -| `PGBOUNCER_FAIL_ON_INVALID_DSN_FILE` | Whether init process should fail if any DSN_FILE is not found. | `false` | -| `PGBOUNCER_SERVER_ROUND_ROBIN` | Defaults to LIFO server connection (0) reuse for performance but recommends uniform usage for systems with round-robin (1) setups to evenly distribute load. | `0` | -| `PGBOUNCER_CLIENT_TLS_SSLMODE` | PgBouncer authentication type | `disable` | -| `PGBOUNCER_CLIENT_TLS_CA_FILE` | PgBouncer TLS authentication CA file | `nil` | -| `PGBOUNCER_CLIENT_TLS_CERT_FILE` | PgBouncer TLS authentication cert file | `nil` | -| `PGBOUNCER_CLIENT_TLS_KEY_FILE` | PgBouncer TLS authentication key file | `nil` | -| `PGBOUNCER_CLIENT_TLS_CIPHERS` | PgBouncer TLS authentication ciphers | `fast` | -| `PGBOUNCER_SERVER_TLS_SSLMODE` | PgBouncer server authentication type | `disable` | -| `PGBOUNCER_SERVER_TLS_CA_FILE` | PgBouncer server TLS authentication CA file | `nil` | -| `PGBOUNCER_SERVER_TLS_CERT_FILE` | PgBouncer server TLS authentication cert file | `nil` | -| `PGBOUNCER_SERVER_TLS_KEY_FILE` | PgBouncer server TLS authentication key file | `nil` | -| `PGBOUNCER_SERVER_TLS_PROTOCOLS` | PgBouncer server TLS authentication protocol | `secure` | -| `PGBOUNCER_SERVER_TLS_CIPHERS` | PgBouncer server TLS authentication ciphers | `fast` | -| `PGBOUNCER_LOG_CONNECTIONS` | PgBouncer log connections | `nil` | -| `PGBOUNCER_LOG_DISCONNECTIONS` | PgBouncer log disconnections | `nil` | -| `PGBOUNCER_LOG_POOLER_ERRORS` | PgBouncer log pooler errors | `nil` | -| `PGBOUNCER_LOG_STATS` | PgBouncer log stats | `nil` | -| `PGBOUNCER_SERVER_LIFETIME` | PgBouncer server lifetime | `nil` | -| `PGBOUNCER_SERVER_CONNECT_TIMEOUT` | PgBouncer server connect timeout | `nil` | -| `PGBOUNCER_SERVER_LOGIN_RETRY` | PgBouncer server login retry | `nil` | -| `PGBOUNCER_CLIENT_LOGIN_TIMEOUT` | PgBouncer client login timeout | `nil` | -| `PGBOUNCER_AUTODB_IDLE_TIMEOUT` | PgBouncer autodb idle timeout | `nil` | -| `PGBOUNCER_QUERY_TIMEOUT` | PgBouncer query timeout | `nil` | -| `PGBOUNCER_CLIENT_IDLE_TIMEOUT` | PgBouncer client idle timeout | `nil` | -| `POSTGRESQL_USERNAME` | PostgreSQL backend default username | `postgres` | -| `POSTGRESQL_PASSWORD` | Password for the PostgreSQL created user | `nil` | -| `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_USERLIST` | Additional content for PGBOUNCER_AUTH_FILE file | `nil` | -| `PGBOUNCER_CONNECT_QUERY` | Query which will be executed after a connection is established. | `nil` | -| `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_SOCKET_GROUP` | PgBouncer socket group | `nil` | -| `PGBOUNCER_DAEMON_USER` | PostgreSQL daemon user | `pgbouncer` | -| `PGBOUNCER_DAEMON_GROUP` | PostgreSQL daemon group | `pgbouncer` | -| `PGBOUNCER_APPLICATION_NAME_ADD_HOST` | PgBouncer add the client host address and port to the application name setting set on connection start | `nil` | +| Name | Description | Default Value | +|---------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------| +| `PGBOUNCER_LOG_FILE` | If set, log PgBouncer output to log file in addition to stdout. | `nil` | +| `PGBOUNCER_DATABASE` | PgBouncer advertised database. | `postgres` | +| `PGBOUNCER_PORT` | PgBouncer port | `6432` | +| `PGBOUNCER_LISTEN_ADDRESS` | PgBouncer listen address | `0.0.0.0` | +| `PGBOUNCER_AUTH_USER` | PgBouncer authentication user | `nil` | +| `PGBOUNCER_AUTH_QUERY` | PgBouncer authentication query | `nil` | +| `PGBOUNCER_AUTH_TYPE` | PgBouncer authentication type | `scram-sha-256` | +| `PGBOUNCER_AUTH_HBA_FILE` | HBA configuration file to use | `nil` | +| `PGBOUNCER_STATS_USERS` | PgBouncer comma-separated list of database users that are allowed to connect and run read-only queries. | `nil` | +| `PGBOUNCER_POOL_MODE` | PgBouncer pool mode. Allowed values: session (default), transaction and statement. | `nil` | +| `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 (default: 0). | `0` | +| `PGBOUNCER_INIT_MAX_RETRIES` | PgBouncer initialization maximum retries | `10` | +| `PGBOUNCER_QUERY_WAIT_TIMEOUT` | PgBouncer maximum time queries are allowed to spend waiting for execution (default: 120). | `nil` | +| `PGBOUNCER_MAX_CLIENT_CONN` | PgBouncer maximum number of client connections allowed (default: 120). | `nil` | +| `PGBOUNCER_MAX_DB_CONNECTIONS` | PgBouncer maximum number of database connections allowed (default: 0). | `nil` | +| `PGBOUNCER_IDLE_TRANSACTION_TIMEOUT` | PgBouncer maximum time for a client to be in 'idle in transaction' state (default: 0.0). | `nil` | +| `PGBOUNCER_SERVER_IDLE_TIMEOUT` | PgBouncer maximum time in seconds a server connection can be idle. If 0 then the timeout is disabled (default: 600). | `nil` | +| `PGBOUNCER_SERVER_RESET_QUERY` | PgBouncer query sent to server on connection release before making it available to other clients (default: DISCARD ALL). | `nil` | +| `PGBOUNCER_DEFAULT_POOL_SIZE` | PgBouncer maximum server connections to allow per user/database pair (default: 20). | `nil` | +| `PGBOUNCER_MIN_POOL_SIZE` | PgBouncer has at least this amount of open connections (default: 0). | `nil` | +| `PGBOUNCER_RESERVE_POOL_SIZE` | PgBouncer allows this amount of additional connections (default: 0). | `nil` | +| `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]. | `nil` | +| `PGBOUNCER_IGNORE_STARTUP_PARAMETERS` | Ignore startup parameters in PgBouncer | `extra_float_digits` | +| `PGBOUNCER_STATS_PERIOD` | PgBouncer stats period | `60` | +| `PGBOUNCER_MAX_PREPARED_STATEMENTS` | PgBouncer maximum number of cached prepared statements (default: 0). | `nil` | +| `PGBOUNCER_EXTRA_FLAGS` | Extra flags for PgBouncer initialization | `nil` | +| `PGBOUNCER_FAIL_ON_INVALID_DSN_FILE` | Whether init process should fail if any DSN_FILE is not found. | `false` | +| `PGBOUNCER_SERVER_ROUND_ROBIN` | Defaults to LIFO server connection (0) reuse for performance but recommends uniform usage for systems with round-robin (1) setups to evenly distribute load. | `0` | +| `PGBOUNCER_APPLICATION_NAME_ADD_HOST` | PgBouncer add the client host address and port to the application name setting set on connection start | `nil` | +| `PGBOUNCER_CLIENT_TLS_SSLMODE` | PgBouncer authentication type | `disable` | +| `PGBOUNCER_CLIENT_TLS_CA_FILE` | PgBouncer TLS authentication CA file | `nil` | +| `PGBOUNCER_CLIENT_TLS_CERT_FILE` | PgBouncer TLS authentication cert file | `nil` | +| `PGBOUNCER_CLIENT_TLS_KEY_FILE` | PgBouncer TLS authentication key file | `nil` | +| `PGBOUNCER_CLIENT_TLS_CIPHERS` | PgBouncer TLS authentication ciphers | `fast` | +| `PGBOUNCER_SERVER_TLS_SSLMODE` | PgBouncer server authentication type | `disable` | +| `PGBOUNCER_SERVER_TLS_CA_FILE` | PgBouncer server TLS authentication CA file | `nil` | +| `PGBOUNCER_SERVER_TLS_CERT_FILE` | PgBouncer server TLS authentication cert file | `nil` | +| `PGBOUNCER_SERVER_TLS_KEY_FILE` | PgBouncer server TLS authentication key file | `nil` | +| `PGBOUNCER_SERVER_TLS_PROTOCOLS` | PgBouncer server TLS authentication protocol | `secure` | +| `PGBOUNCER_SERVER_TLS_CIPHERS` | PgBouncer server TLS authentication ciphers | `fast` | +| `PGBOUNCER_LOG_CONNECTIONS` | PgBouncer log connections | `nil` | +| `PGBOUNCER_LOG_DISCONNECTIONS` | PgBouncer log disconnections | `nil` | +| `PGBOUNCER_LOG_POOLER_ERRORS` | PgBouncer log pooler errors | `nil` | +| `PGBOUNCER_LOG_STATS` | PgBouncer log stats | `nil` | +| `PGBOUNCER_SERVER_LIFETIME` | PgBouncer server lifetime | `nil` | +| `PGBOUNCER_SERVER_CONNECT_TIMEOUT` | PgBouncer server connect timeout | `nil` | +| `PGBOUNCER_SERVER_LOGIN_RETRY` | PgBouncer server login retry | `nil` | +| `PGBOUNCER_CLIENT_LOGIN_TIMEOUT` | PgBouncer client login timeout | `nil` | +| `PGBOUNCER_AUTODB_IDLE_TIMEOUT` | PgBouncer autodb idle timeout | `nil` | +| `PGBOUNCER_QUERY_TIMEOUT` | PgBouncer query timeout | `nil` | +| `PGBOUNCER_CLIENT_IDLE_TIMEOUT` | PgBouncer client idle timeout | `nil` | +| `POSTGRESQL_USERNAME` | PostgreSQL backend default username | `postgres` | +| `POSTGRESQL_PASSWORD` | Password for the PostgreSQL created user | `nil` | +| `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_USERLIST` | Additional content for PGBOUNCER_AUTH_FILE file | `nil` | +| `PGBOUNCER_CONNECT_QUERY` | Query which will be executed after a connection is established. | `nil` | +| `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_SOCKET_GROUP` | PgBouncer socket group | `nil` | +| `PGBOUNCER_DAEMON_USER` | PostgreSQL daemon user | `pgbouncer` | +| `PGBOUNCER_DAEMON_GROUP` | PostgreSQL daemon group | `pgbouncer` | #### Read-only environment variables