mirror of
https://github.com/joomla-docker/docker-joomla.git
synced 2025-01-10 17:14:41 +00:00
#wait for dockercompose to start the mysql
#wait for dockercompose to start the mysql
This commit is contained in:
parent
26083ce457
commit
de91fce3d5
@ -2,6 +2,9 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
#wait for dockercompose to start the mysql
|
||||||
|
sleep 3
|
||||||
|
|
||||||
if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
|
if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; 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
|
||||||
|
Loading…
Reference in New Issue
Block a user