mirror of
https://github.com/joomla-docker/docker-joomla.git
synced 2025-01-25 08:08:41 +00:00
parent
8df265f11a
commit
40426bb763
@ -2,6 +2,7 @@
|
||||
|
||||
set -e
|
||||
|
||||
if [[ "$1" == apache2* ]]; then
|
||||
if [ -n "$MYSQL_PORT_3306_TCP" ]; then
|
||||
if [ -z "$JOOMLA_DB_HOST" ]; then
|
||||
JOOMLA_DB_HOST='mysql'
|
||||
@ -66,5 +67,6 @@ echo >&2 "Database Username: $JOOMLA_DB_USER"
|
||||
echo >&2 "Database Password: $JOOMLA_DB_PASSWORD"
|
||||
echo >&2
|
||||
echo >&2 "========================================================================"
|
||||
fi
|
||||
|
||||
exec "$@"
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
set -e
|
||||
|
||||
if [[ "$1" == apache2* ]]; then
|
||||
if [ -n "$MYSQL_PORT_3306_TCP" ]; then
|
||||
if [ -z "$JOOMLA_DB_HOST" ]; then
|
||||
JOOMLA_DB_HOST='mysql'
|
||||
@ -66,5 +67,6 @@ echo >&2 "Database Username: $JOOMLA_DB_USER"
|
||||
echo >&2 "Database Password: $JOOMLA_DB_PASSWORD"
|
||||
echo >&2
|
||||
echo >&2 "========================================================================"
|
||||
fi
|
||||
|
||||
exec "$@"
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
set -e
|
||||
|
||||
if [[ "$1" == apache2* ]]; then
|
||||
if [ -n "$MYSQL_PORT_3306_TCP" ]; then
|
||||
if [ -z "$JOOMLA_DB_HOST" ]; then
|
||||
JOOMLA_DB_HOST='mysql'
|
||||
@ -66,5 +67,6 @@ echo >&2 "Database Username: $JOOMLA_DB_USER"
|
||||
echo >&2 "Database Password: $JOOMLA_DB_PASSWORD"
|
||||
echo >&2
|
||||
echo >&2 "========================================================================"
|
||||
fi
|
||||
|
||||
exec "$@"
|
||||
|
Loading…
x
Reference in New Issue
Block a user