diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 0f1acae..5d858b4 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -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