#wait for dockercompose to start the mysql

#wait for dockercompose to start the mysql
This commit is contained in:
openenergyprojects 2016-10-07 10:37:53 +03:00 committed by GitHub
parent 26083ce457
commit de91fce3d5
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