mirror of
https://github.com/bitnami/containers.git
synced 2026-02-11 22:47:20 +08:00
[bitnami/pgpool] Release 4.5.1-debian-12-r3 (#65526)
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
@@ -7,10 +7,12 @@ 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-03-31T18:49:10Z" \
|
||||
org.opencontainers.image.created="2024-04-23T18:53:10Z" \
|
||||
org.opencontainers.image.description="Application packaged by VMware, Inc" \
|
||||
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/pgpool/README.md" \
|
||||
org.opencontainers.image.licenses="Apache-2.0" \
|
||||
org.opencontainers.image.ref.name="4.5.1-debian-12-r2" \
|
||||
org.opencontainers.image.ref.name="4.5.1-debian-12-r3" \
|
||||
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/pgpool" \
|
||||
org.opencontainers.image.title="pgpool" \
|
||||
org.opencontainers.image.vendor="VMware, Inc." \
|
||||
org.opencontainers.image.version="4.5.1"
|
||||
@@ -26,7 +28,7 @@ SHELL ["/bin/bash", "-o", "errexit", "-o", "nounset", "-o", "pipefail", "-c"]
|
||||
RUN install_packages ca-certificates curl ldap-utils libaudit1 libbsd0 libcap-ng0 libcom-err2 libcrypt1 libedit2 libffi8 libgcc-s1 libgmp10 libgnutls30 libgssapi-krb5-2 libhogweed6 libicu72 libidn2-0 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.5-0 libldap-common liblzma5 libmd0 libnettle8 libnss-ldapd libp11-kit0 libpam-ldapd libpam0g libpq5 libsasl2-2 libssl3 libstdc++6 libtasn1-6 libtinfo6 libunistring2 libuuid1 libxml2 libxslt1.1 nslcd procps zlib1g
|
||||
RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ ; \
|
||||
COMPONENTS=( \
|
||||
"wait-for-port-1.0.7-10-linux-${OS_ARCH}-debian-12" \
|
||||
"wait-for-port-1.0.7-11-linux-${OS_ARCH}-debian-12" \
|
||||
"postgresql-client-14.11.0-2-linux-${OS_ARCH}-debian-12" \
|
||||
"pgpool-4.5.1-0-linux-${OS_ARCH}-debian-12" \
|
||||
) ; \
|
||||
|
||||
@@ -15,6 +15,6 @@
|
||||
"arch": "amd64",
|
||||
"distro": "debian-12",
|
||||
"type": "NAMI",
|
||||
"version": "1.0.7-10"
|
||||
"version": "1.0.7-11"
|
||||
}
|
||||
}
|
||||
@@ -87,6 +87,8 @@ export PGPOOL_AUTO_FAILBACK="${PGPOOL_AUTO_FAILBACK:-no}"
|
||||
export PGPOOL_BACKEND_APPLICATION_NAMES="${PGPOOL_BACKEND_APPLICATION_NAMES:-}"
|
||||
export PGPOOL_AUTHENTICATION_METHOD="${PGPOOL_AUTHENTICATION_METHOD:-scram-sha-256}"
|
||||
export PGPOOL_AES_KEY="${PGPOOL_AES_KEY:-$(head -c 20 /dev/urandom | base64)}"
|
||||
export PGPOOL_FAILOVER_ON_BACKEND_SHUTDOWN="${PGPOOL_FAILOVER_ON_BACKEND_SHUTDOWN:-on}"
|
||||
export PGPOOL_FAILOVER_ON_BACKEND_ERROR="${PGPOOL_FAILOVER_ON_BACKEND_ERROR:-off}"
|
||||
|
||||
# SSL
|
||||
export PGPOOL_ENABLE_TLS="${PGPOOL_ENABLE_TLS:-no}"
|
||||
@@ -505,7 +507,8 @@ pgpool_create_config() {
|
||||
pgpool_set_property "connect_timeout" "$PGPOOL_CONNECT_TIMEOUT"
|
||||
# Failover settings
|
||||
pgpool_set_property "failover_command" "echo \">>> Failover - that will initialize new primary node search!\""
|
||||
pgpool_set_property "failover_on_backend_error" "off"
|
||||
pgpool_set_property "failover_on_backend_error" "$PGPOOL_FAILOVER_ON_BACKEND_ERROR"
|
||||
pgpool_set_property "failover_on_backend_shutdown" "$PGPOOL_FAILOVER_ON_BACKEND_SHUTDOWN"
|
||||
# Keeps searching for a primary node forever when a failover occurs
|
||||
pgpool_set_property "search_primary_node_timeout" "0"
|
||||
pgpool_set_property "disable_load_balance_on_write" "$PGPOOL_DISABLE_LOAD_BALANCE_ON_WRITE"
|
||||
|
||||
Reference in New Issue
Block a user