feat: uses php-fpm & nginx instead of php-apache

This commit is contained in:
2025-05-20 20:38:36 -05:00
parent a2a1154a22
commit 295f68cb92
11 changed files with 145 additions and 59 deletions

View File

@@ -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 "$@"