mirror of
https://github.com/joomla-docker/docker-joomla.git
synced 2025-01-25 08:08:41 +00:00
Allow initialization to run on FPM too (Fix #5)
This commit is contained in:
parent
287ab57925
commit
772950ed9e
@ -2,7 +2,7 @@
|
||||
|
||||
set -e
|
||||
|
||||
if [[ "$1" == apache2* ]]; then
|
||||
if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
|
||||
if [ -n "$MYSQL_PORT_3306_TCP" ]; then
|
||||
if [ -z "$JOOMLA_DB_HOST" ]; then
|
||||
JOOMLA_DB_HOST='mysql'
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
set -e
|
||||
|
||||
if [[ "$1" == apache2* ]]; then
|
||||
if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
|
||||
if [ -n "$MYSQL_PORT_3306_TCP" ]; then
|
||||
if [ -z "$JOOMLA_DB_HOST" ]; then
|
||||
JOOMLA_DB_HOST='mysql'
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
set -e
|
||||
|
||||
if [[ "$1" == apache2* ]]; then
|
||||
if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
|
||||
if [ -n "$MYSQL_PORT_3306_TCP" ]; then
|
||||
if [ -z "$JOOMLA_DB_HOST" ]; then
|
||||
JOOMLA_DB_HOST='mysql'
|
||||
|
Loading…
x
Reference in New Issue
Block a user