mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-12-22 14:31:36 +01:00
Merge pull request #105 from zabbix/master
Fixed PostgreSQL default root account
This commit is contained in:
commit
462b628ce3
@ -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