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