mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-01-03 12:19:16 +01:00
Fixed PostgreSQL default root account
This commit is contained in:
parent
5bde7d2629
commit
a98a984f6d
@ -202,6 +202,9 @@ check_db_connect_postgresql() {
|
||||
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
||||
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
||||
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
||||
else
|
||||
DB_SERVER_ROOT_USER=${DB_SERVER_ZBX_USER}
|
||||
DB_SERVER_ROOT_PASS=${DB_SERVER_ZBX_PASS}
|
||||
fi
|
||||
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
||||
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
||||
|
@ -202,6 +202,9 @@ check_db_connect_postgresql() {
|
||||
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
||||
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
||||
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
||||
else
|
||||
DB_SERVER_ROOT_USER=${DB_SERVER_ZBX_USER}
|
||||
DB_SERVER_ROOT_PASS=${DB_SERVER_ZBX_PASS}
|
||||
fi
|
||||
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
||||
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
||||
|
@ -202,6 +202,9 @@ check_db_connect_postgresql() {
|
||||
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
||||
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
||||
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
||||
else
|
||||
DB_SERVER_ROOT_USER=${DB_SERVER_ZBX_USER}
|
||||
DB_SERVER_ROOT_PASS=${DB_SERVER_ZBX_PASS}
|
||||
fi
|
||||
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
||||
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
||||
|
@ -202,6 +202,9 @@ check_db_connect_postgresql() {
|
||||
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
||||
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
||||
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
||||
else
|
||||
DB_SERVER_ROOT_USER=${DB_SERVER_ZBX_USER}
|
||||
DB_SERVER_ROOT_PASS=${DB_SERVER_ZBX_PASS}
|
||||
fi
|
||||
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
||||
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
||||
|
@ -202,6 +202,9 @@ check_db_connect_postgresql() {
|
||||
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
||||
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
||||
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
||||
else
|
||||
DB_SERVER_ROOT_USER=${DB_SERVER_ZBX_USER}
|
||||
DB_SERVER_ROOT_PASS=${DB_SERVER_ZBX_PASS}
|
||||
fi
|
||||
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
||||
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
||||
|
@ -202,6 +202,9 @@ check_db_connect_postgresql() {
|
||||
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
||||
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
||||
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
||||
else
|
||||
DB_SERVER_ROOT_USER=${DB_SERVER_ZBX_USER}
|
||||
DB_SERVER_ROOT_PASS=${DB_SERVER_ZBX_PASS}
|
||||
fi
|
||||
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
||||
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
||||
|
@ -202,6 +202,9 @@ check_db_connect_postgresql() {
|
||||
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
||||
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
||||
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
||||
else
|
||||
DB_SERVER_ROOT_USER=${DB_SERVER_ZBX_USER}
|
||||
DB_SERVER_ROOT_PASS=${DB_SERVER_ZBX_PASS}
|
||||
fi
|
||||
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
||||
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
||||
|
@ -202,6 +202,9 @@ check_db_connect_postgresql() {
|
||||
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
||||
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
||||
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
||||
else
|
||||
DB_SERVER_ROOT_USER=${DB_SERVER_ZBX_USER}
|
||||
DB_SERVER_ROOT_PASS=${DB_SERVER_ZBX_PASS}
|
||||
fi
|
||||
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
||||
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
||||
|
@ -202,6 +202,9 @@ check_db_connect_postgresql() {
|
||||
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
||||
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
||||
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
||||
else
|
||||
DB_SERVER_ROOT_USER=${DB_SERVER_ZBX_USER}
|
||||
DB_SERVER_ROOT_PASS=${DB_SERVER_ZBX_PASS}
|
||||
fi
|
||||
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
||||
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
||||
|
@ -202,6 +202,9 @@ check_db_connect_postgresql() {
|
||||
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
||||
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
||||
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
||||
else
|
||||
DB_SERVER_ROOT_USER=${DB_SERVER_ZBX_USER}
|
||||
DB_SERVER_ROOT_PASS=${DB_SERVER_ZBX_PASS}
|
||||
fi
|
||||
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
||||
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
||||
|
@ -202,6 +202,9 @@ check_db_connect_postgresql() {
|
||||
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
||||
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
||||
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
||||
else
|
||||
DB_SERVER_ROOT_USER=${DB_SERVER_ZBX_USER}
|
||||
DB_SERVER_ROOT_PASS=${DB_SERVER_ZBX_PASS}
|
||||
fi
|
||||
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
||||
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
||||
|
@ -202,6 +202,9 @@ check_db_connect_postgresql() {
|
||||
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
||||
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
||||
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
||||
else
|
||||
DB_SERVER_ROOT_USER=${DB_SERVER_ZBX_USER}
|
||||
DB_SERVER_ROOT_PASS=${DB_SERVER_ZBX_PASS}
|
||||
fi
|
||||
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
||||
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
||||
|
@ -202,6 +202,9 @@ check_db_connect_postgresql() {
|
||||
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
||||
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
||||
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
||||
else
|
||||
DB_SERVER_ROOT_USER=${DB_SERVER_ZBX_USER}
|
||||
DB_SERVER_ROOT_PASS=${DB_SERVER_ZBX_PASS}
|
||||
fi
|
||||
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
||||
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
||||
|
@ -202,6 +202,9 @@ check_db_connect_postgresql() {
|
||||
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
||||
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
||||
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
||||
else
|
||||
DB_SERVER_ROOT_USER=${DB_SERVER_ZBX_USER}
|
||||
DB_SERVER_ROOT_PASS=${DB_SERVER_ZBX_PASS}
|
||||
fi
|
||||
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
||||
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
||||
|
@ -202,6 +202,9 @@ check_db_connect_postgresql() {
|
||||
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
||||
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
||||
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
||||
else
|
||||
DB_SERVER_ROOT_USER=${DB_SERVER_ZBX_USER}
|
||||
DB_SERVER_ROOT_PASS=${DB_SERVER_ZBX_PASS}
|
||||
fi
|
||||
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
||||
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
||||
|
@ -202,6 +202,9 @@ check_db_connect_postgresql() {
|
||||
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
||||
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
||||
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
||||
else
|
||||
DB_SERVER_ROOT_USER=${DB_SERVER_ZBX_USER}
|
||||
DB_SERVER_ROOT_PASS=${DB_SERVER_ZBX_PASS}
|
||||
fi
|
||||
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
||||
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
||||
|
@ -202,6 +202,9 @@ check_db_connect_postgresql() {
|
||||
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
||||
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
||||
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
||||
else
|
||||
DB_SERVER_ROOT_USER=${DB_SERVER_ZBX_USER}
|
||||
DB_SERVER_ROOT_PASS=${DB_SERVER_ZBX_PASS}
|
||||
fi
|
||||
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
||||
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
||||
|
@ -202,6 +202,9 @@ check_db_connect_postgresql() {
|
||||
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
||||
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
||||
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
||||
else
|
||||
DB_SERVER_ROOT_USER=${DB_SERVER_ZBX_USER}
|
||||
DB_SERVER_ROOT_PASS=${DB_SERVER_ZBX_PASS}
|
||||
fi
|
||||
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
||||
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
||||
|
@ -202,6 +202,9 @@ check_db_connect_postgresql() {
|
||||
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
||||
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
||||
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
||||
else
|
||||
DB_SERVER_ROOT_USER=${DB_SERVER_ZBX_USER}
|
||||
DB_SERVER_ROOT_PASS=${DB_SERVER_ZBX_PASS}
|
||||
fi
|
||||
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
||||
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
||||
|
@ -202,6 +202,9 @@ check_db_connect_postgresql() {
|
||||
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
||||
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
||||
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
||||
else
|
||||
DB_SERVER_ROOT_USER=${DB_SERVER_ZBX_USER}
|
||||
DB_SERVER_ROOT_PASS=${DB_SERVER_ZBX_PASS}
|
||||
fi
|
||||
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
||||
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
||||
|
Loading…
Reference in New Issue
Block a user