mirror of
https://github.com/octoleo/docker-joomla.git
synced 2025-02-05 07:18:24 +00:00
Merge pull request #11 from openenergyprojects/patch-1
wait for dockercompose to start the mysql
This commit is contained in:
commit
7291e378a1
@ -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…
x
Reference in New Issue
Block a user