mirror of
https://github.com/bitnami/containers.git
synced 2026-03-17 14:57:40 +08:00
[bitnami/postgresql-repmgr] Added env vars for controlling repmgr monitoring (#65187)
* [bitnami/postgresql-repmgr] Added env vars for controlling repmgr monitoring. Signed-off-by: Christoffer Lund <christoffer.lund@blueflow.se> * [bitnami/postgresql-repmgr] Added env vars for controlling repmgr monitoring for postgresql versions 12, 13, 14 and 15 as well. Signed-off-by: Christoffer Lund <christoffer.lund@blueflow.se> --------- Signed-off-by: Christoffer Lund <christoffer.lund@blueflow.se>
This commit is contained in:
@@ -506,6 +506,8 @@ reconnect_attempts='${REPMGR_RECONNECT_ATTEMPTS}'
|
||||
reconnect_interval='${REPMGR_RECONNECT_INTERVAL}'
|
||||
log_level='${REPMGR_LOG_LEVEL}'
|
||||
priority='${REPMGR_NODE_PRIORITY}'
|
||||
monitoring_history='${REPMGR_MONITORING_HISTORY}'
|
||||
monitor_interval_secs='${REPMGR_MONITOR_INTERVAL_SECS}'
|
||||
degraded_monitoring_timeout='${REPMGR_DEGRADED_MONITORING_TIMEOUT}'
|
||||
data_directory='${POSTGRESQL_DATA_DIR}'
|
||||
async_query_timeout='${REPMGR_MASTER_RESPONSE_TIMEOUT}'
|
||||
|
||||
@@ -117,6 +117,8 @@ postgresql_env_vars=(
|
||||
REPMGR_PRIMARY_PORT
|
||||
REPMGR_USE_REPLICATION_SLOTS
|
||||
REPMGR_MASTER_RESPONSE_TIMEOUT
|
||||
REPMGR_MONITORING_HISTORY
|
||||
REPMGR_MONITOR_INTERVAL_SECS
|
||||
REPMGR_DEGRADED_MONITORING_TIMEOUT
|
||||
REPMGR_UPGRADE_EXTENSION
|
||||
REPMGR_FENCE_OLD_PRIMARY
|
||||
@@ -420,6 +422,8 @@ export REPMGR_PRIMARY_HOST="${REPMGR_PRIMARY_HOST:-}"
|
||||
export REPMGR_PRIMARY_PORT="${REPMGR_PRIMARY_PORT:-5432}"
|
||||
export REPMGR_USE_REPLICATION_SLOTS="${REPMGR_USE_REPLICATION_SLOTS:-1}"
|
||||
export REPMGR_MASTER_RESPONSE_TIMEOUT="${REPMGR_MASTER_RESPONSE_TIMEOUT:-20}"
|
||||
export REPMGR_MONITORING_HISTORY="${REPMGR_MONITORING_HISTORY:-no}"
|
||||
export REPMGR_MONITOR_INTERVAL_SECS="${REPMGR_MONITOR_INTERVAL_SECS:-2}"
|
||||
export REPMGR_DEGRADED_MONITORING_TIMEOUT="${REPMGR_DEGRADED_MONITORING_TIMEOUT:-5}"
|
||||
export REPMGR_UPGRADE_EXTENSION="${REPMGR_UPGRADE_EXTENSION:-no}"
|
||||
export REPMGR_FENCE_OLD_PRIMARY="${REPMGR_FENCE_OLD_PRIMARY:-no}"
|
||||
|
||||
Reference in New Issue
Block a user