#!/bin/sh # Migrate the database php ./artisan migrate --force # Cache php ./artisan optimize:clear && php ./artisan optimize # Scheduler crond -b -L /dev/stdout # Queue worker supervisord --nodaemon --configuration /etc/supervisord.conf & supervisorctl start "laravel-worker:*" # Start all of the server sumulataneously php ./artisan serve --no-interaction -vvv --port=80 --host=0.0.0.0