Some checks failed
Push image to registry / build-image (push) Failing after 1m0s
18 lines
393 B
Bash
18 lines
393 B
Bash
#!/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
|