mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-01-06 21:59:30 +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() {
|
||||
echo "********************"
|
||||
if [[ "$DB_SERVER_HOST" != '""' ]]; then
|
||||
if [ -n "${DB_SERVER_HOST}" ]; then
|
||||
echo "* DB_SERVER_HOST: ${DB_SERVER_HOST}"
|
||||
echo "* DB_SERVER_PORT: ${DB_SERVER_PORT}"
|
||||
else
|
||||
|
@ -185,7 +185,7 @@ check_variables_postgresql() {
|
||||
|
||||
check_db_connect_postgresql() {
|
||||
echo "********************"
|
||||
if [[ "$DB_SERVER_HOST" != '""' ]]; then
|
||||
if [ -n "${DB_SERVER_HOST}" ]; then
|
||||
echo "* DB_SERVER_HOST: ${DB_SERVER_HOST}"
|
||||
echo "* DB_SERVER_PORT: ${DB_SERVER_PORT}"
|
||||
else
|
||||
|
@ -185,7 +185,7 @@ check_variables_postgresql() {
|
||||
|
||||
check_db_connect_postgresql() {
|
||||
echo "********************"
|
||||
if [[ "$DB_SERVER_HOST" != '""' ]]; then
|
||||
if [ -n "${DB_SERVER_HOST}" ]; then
|
||||
echo "* DB_SERVER_HOST: ${DB_SERVER_HOST}"
|
||||
echo "* DB_SERVER_PORT: ${DB_SERVER_PORT}"
|
||||
else
|
||||
|
@ -185,7 +185,7 @@ check_variables_postgresql() {
|
||||
|
||||
check_db_connect_postgresql() {
|
||||
echo "********************"
|
||||
if [[ "$DB_SERVER_HOST" != '""' ]]; then
|
||||
if [ -n "${DB_SERVER_HOST}" ]; then
|
||||
echo "* DB_SERVER_HOST: ${DB_SERVER_HOST}"
|
||||
echo "* DB_SERVER_PORT: ${DB_SERVER_PORT}"
|
||||
else
|
||||
|
@ -185,7 +185,7 @@ check_variables_postgresql() {
|
||||
|
||||
check_db_connect_postgresql() {
|
||||
echo "********************"
|
||||
if [[ "$DB_SERVER_HOST" != '""' ]]; then
|
||||
if [ -n "${DB_SERVER_HOST}" ]; then
|
||||
echo "* DB_SERVER_HOST: ${DB_SERVER_HOST}"
|
||||
echo "* DB_SERVER_PORT: ${DB_SERVER_PORT}"
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user