feat: uses php-fpm & nginx instead of php-apache
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
|
||||
# Sleep for a second to ensure DB is awake and ready
|
||||
SLEEP_TIME=$(shuf -i 2-5 -n 1)
|
||||
@@ -11,8 +11,8 @@ php /var/www/bin/console doctrine:migrations:migrate --no-interaction
|
||||
php /var/www/bin/console db:seed
|
||||
|
||||
# Start Apache in the foreground
|
||||
echo "Starting Apache..."
|
||||
exec apachectl -D FOREGROUND
|
||||
echo "Starting PHP-FPM..."
|
||||
php-fpm
|
||||
|
||||
exec "$@"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user