32
3
mirror of https://github.com/joomla-docker/docker-joomla.git synced 2024-05-28 20:10:48 +00:00

Merge pull request #11 from openenergyprojects/patch-1

wait for dockercompose to start the mysql
This commit is contained in:
Michael Babker 2016-10-07 07:14:39 -05:00 committed by GitHub
commit 7291e378a1

View File

@ -2,6 +2,9 @@
set -e
#wait for dockercompose to start the mysql
sleep 3
if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
if [ -n "$MYSQL_PORT_3306_TCP" ]; then
if [ -z "$JOOMLA_DB_HOST" ]; then