mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-01-08 06:40:26 +01:00
Added support for PostgreSQL database socket volume
This commit is contained in:
parent
018eebaa87
commit
e33f5ed7c5
@ -185,7 +185,7 @@ check_variables_postgresql() {
|
|||||||
|
|
||||||
check_db_connect_postgresql() {
|
check_db_connect_postgresql() {
|
||||||
echo "********************"
|
echo "********************"
|
||||||
if [[ "$DB_SERVER_HOST" != '""' ]]; then
|
if [ -n "${DB_SERVER_HOST}" ]; then
|
||||||
echo "* DB_SERVER_HOST: ${DB_SERVER_HOST}"
|
echo "* DB_SERVER_HOST: ${DB_SERVER_HOST}"
|
||||||
echo "* DB_SERVER_PORT: ${DB_SERVER_PORT}"
|
echo "* DB_SERVER_PORT: ${DB_SERVER_PORT}"
|
||||||
else
|
else
|
||||||
|
@ -185,7 +185,7 @@ check_variables_postgresql() {
|
|||||||
|
|
||||||
check_db_connect_postgresql() {
|
check_db_connect_postgresql() {
|
||||||
echo "********************"
|
echo "********************"
|
||||||
if [[ "$DB_SERVER_HOST" != '""' ]]; then
|
if [ -n "${DB_SERVER_HOST}" ]; then
|
||||||
echo "* DB_SERVER_HOST: ${DB_SERVER_HOST}"
|
echo "* DB_SERVER_HOST: ${DB_SERVER_HOST}"
|
||||||
echo "* DB_SERVER_PORT: ${DB_SERVER_PORT}"
|
echo "* DB_SERVER_PORT: ${DB_SERVER_PORT}"
|
||||||
else
|
else
|
||||||
|
@ -185,7 +185,7 @@ check_variables_postgresql() {
|
|||||||
|
|
||||||
check_db_connect_postgresql() {
|
check_db_connect_postgresql() {
|
||||||
echo "********************"
|
echo "********************"
|
||||||
if [[ "$DB_SERVER_HOST" != '""' ]]; then
|
if [ -n "${DB_SERVER_HOST}" ]; then
|
||||||
echo "* DB_SERVER_HOST: ${DB_SERVER_HOST}"
|
echo "* DB_SERVER_HOST: ${DB_SERVER_HOST}"
|
||||||
echo "* DB_SERVER_PORT: ${DB_SERVER_PORT}"
|
echo "* DB_SERVER_PORT: ${DB_SERVER_PORT}"
|
||||||
else
|
else
|
||||||
|
@ -185,7 +185,7 @@ check_variables_postgresql() {
|
|||||||
|
|
||||||
check_db_connect_postgresql() {
|
check_db_connect_postgresql() {
|
||||||
echo "********************"
|
echo "********************"
|
||||||
if [[ "$DB_SERVER_HOST" != '""' ]]; then
|
if [ -n "${DB_SERVER_HOST}" ]; then
|
||||||
echo "* DB_SERVER_HOST: ${DB_SERVER_HOST}"
|
echo "* DB_SERVER_HOST: ${DB_SERVER_HOST}"
|
||||||
echo "* DB_SERVER_PORT: ${DB_SERVER_PORT}"
|
echo "* DB_SERVER_PORT: ${DB_SERVER_PORT}"
|
||||||
else
|
else
|
||||||
|
@ -185,7 +185,7 @@ check_variables_postgresql() {
|
|||||||
|
|
||||||
check_db_connect_postgresql() {
|
check_db_connect_postgresql() {
|
||||||
echo "********************"
|
echo "********************"
|
||||||
if [[ "$DB_SERVER_HOST" != '""' ]]; then
|
if [ -n "${DB_SERVER_HOST}" ]; then
|
||||||
echo "* DB_SERVER_HOST: ${DB_SERVER_HOST}"
|
echo "* DB_SERVER_HOST: ${DB_SERVER_HOST}"
|
||||||
echo "* DB_SERVER_PORT: ${DB_SERVER_PORT}"
|
echo "* DB_SERVER_PORT: ${DB_SERVER_PORT}"
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user