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
1 changed files with 3 additions and 0 deletions

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