12.7.0-debian-10-r55 release
This commit is contained in:
parent
85077403ce
commit
2d9edef245
|
|
@ -22,7 +22,7 @@ COPY rootfs /
|
|||
RUN /opt/bitnami/scripts/postgresql-repmgr/postunpack.sh
|
||||
RUN /opt/bitnami/scripts/locales/add-extra-locales.sh
|
||||
ENV BITNAMI_APP_NAME="postgresql-repmgr" \
|
||||
BITNAMI_IMAGE_VERSION="12.7.0-debian-10-r54" \
|
||||
BITNAMI_IMAGE_VERSION="12.7.0-debian-10-r55" \
|
||||
LANG="en_US.UTF-8" \
|
||||
LANGUAGE="en_US:en" \
|
||||
NSS_WRAPPER_LIB="/opt/bitnami/common/lib/libnss_wrapper.so" \
|
||||
|
|
|
|||
|
|
@ -345,8 +345,8 @@ generate_random_string() {
|
|||
# md5 hash - string
|
||||
#########################
|
||||
generate_md5_hash() {
|
||||
local -r str="${1:?missing input string}"
|
||||
echo -n "$str" | md5sum | awk '{print $1}'
|
||||
local -r str="${1:?missing input string}"
|
||||
echo -n "$str" | md5sum | awk '{print $1}'
|
||||
}
|
||||
|
||||
########################
|
||||
|
|
|
|||
|
|
@ -367,7 +367,7 @@ postgresql_create_replication_user() {
|
|||
postgresql_configure_replication_parameters() {
|
||||
local -r psql_major_version="$(postgresql_get_major_version)"
|
||||
info "Configuring replication parameters"
|
||||
postgresql_set_property "wal_level" "hot_standby"
|
||||
postgresql_set_property "wal_level" "$POSTGRESQL_WAL_LEVEL"
|
||||
postgresql_set_property "max_wal_size" "400MB"
|
||||
postgresql_set_property "max_wal_senders" "16"
|
||||
if ((psql_major_version >= 13)); then
|
||||
|
|
|
|||
|
|
@ -353,7 +353,7 @@ repmgr_inject_postgresql_configuration() {
|
|||
fi
|
||||
postgresql_set_property "max_wal_senders" "16"
|
||||
postgresql_set_property "max_replication_slots" "10"
|
||||
postgresql_set_property "wal_level" "hot_standby"
|
||||
postgresql_set_property "wal_level" "$POSTGRESQL_WAL_LEVEL"
|
||||
postgresql_set_property "archive_mode" "on"
|
||||
postgresql_set_property "hot_standby" "on"
|
||||
postgresql_set_property "archive_command" "/bin/true"
|
||||
|
|
@ -709,8 +709,8 @@ repmgr_initialize() {
|
|||
postgresql_start_bg
|
||||
repmgr_unregister_standby
|
||||
repmgr_register_standby
|
||||
|
||||
if [[ "$psql_major_version" -lt "12" ]]; then
|
||||
|
||||
if [[ "$psql_major_version" -lt "12" ]]; then
|
||||
info "Check if primary running..."
|
||||
repmgr_wait_primary_node
|
||||
repmgr_standby_follow
|
||||
|
|
|
|||
|
|
@ -82,6 +82,7 @@ postgresql_env_vars=(
|
|||
POSTGRESQL_PGHBA_REMOVE_FILTERS
|
||||
POSTGRESQL_USERNAME_CONNECTION_LIMIT
|
||||
POSTGRESQL_POSTGRES_CONNECTION_LIMIT
|
||||
POSTGRESQL_WAL_LEVEL
|
||||
POSTGRESQL_AUTOCTL_CONF_DIR
|
||||
POSTGRESQL_AUTOCTL_MODE
|
||||
POSTGRESQL_AUTOCTL_MONITOR_HOST
|
||||
|
|
@ -335,6 +336,7 @@ POSTGRESQL_USERNAME_CONNECTION_LIMIT="${POSTGRESQL_USERNAME_CONNECTION_LIMIT:-"$
|
|||
export POSTGRESQL_USERNAME_CONNECTION_LIMIT="${POSTGRESQL_USERNAME_CONNECTION_LIMIT:-}"
|
||||
POSTGRESQL_POSTGRES_CONNECTION_LIMIT="${POSTGRESQL_POSTGRES_CONNECTION_LIMIT:-"${POSTGRES_POSTGRES_CONNECTION_LIMIT:-}"}"
|
||||
export POSTGRESQL_POSTGRES_CONNECTION_LIMIT="${POSTGRESQL_POSTGRES_CONNECTION_LIMIT:-}"
|
||||
export POSTGRESQL_WAL_LEVEL="${POSTGRESQL_WAL_LEVEL:-replica}"
|
||||
|
||||
# pgAutoFailover settings
|
||||
export POSTGRESQL_AUTOCTL_VOLUME_DIR="${POSTGRESQL_VOLUME_DIR}/pgautoctl"
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ Learn more about the Bitnami tagging policy and the difference between rolling t
|
|||
|
||||
|
||||
* [`13`, `13-debian-10`, `13.3.0`, `13.3.0-debian-10-r49` (13/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql-repmgr/blob/13.3.0-debian-10-r49/13/debian-10/Dockerfile)
|
||||
* [`12`, `12-debian-10`, `12.7.0`, `12.7.0-debian-10-r54` (12/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql-repmgr/blob/12.7.0-debian-10-r54/12/debian-10/Dockerfile)
|
||||
* [`12`, `12-debian-10`, `12.7.0`, `12.7.0-debian-10-r55` (12/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql-repmgr/blob/12.7.0-debian-10-r55/12/debian-10/Dockerfile)
|
||||
* [`11`, `11-debian-10`, `11.12.0`, `11.12.0-debian-10-r52`, `latest` (11/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql-repmgr/blob/11.12.0-debian-10-r52/11/debian-10/Dockerfile)
|
||||
* [`10`, `10-debian-10`, `10.17.0`, `10.17.0-debian-10-r43` (10/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql-repmgr/blob/10.17.0-debian-10-r43/10/debian-10/Dockerfile)
|
||||
* [`9.6`, `9.6-debian-10`, `9.6.22`, `9.6.22-debian-10-r53` (9.6/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql-repmgr/blob/9.6.22-debian-10-r53/9.6/debian-10/Dockerfile)
|
||||
|
|
|
|||
Loading…
Reference in New Issue