All checks were successful
Push image to registry / build-image (push) Successful in 3m46s
15 lines
356 B
Bash
15 lines
356 B
Bash
#!/bin/sh
|
|
|
|
# Migrate the database
|
|
php ./artisan migrate --force
|
|
|
|
# Cache
|
|
php ./artisan optimize:clear && php ./artisan optimize
|
|
|
|
# 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
|