Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docker/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ set -e
# Set job control so we can bg/fg processes
set -m

php artisan key:check || exit 1

# If the "start-website" argument was provided, start the web server
if [ "$1" = "start-website" ] ; then
php artisan key:check || exit 1
if [ "$DEVELOPMENT_BUILD" = "1" ]; then
echo "Skipping background jobs in development mode..."
else
Expand Down Expand Up @@ -42,6 +42,7 @@ if [ "$1" = "start-website" ] ; then

# If the start-worker argument was provided, start a worker process instead
elif [ "$1" = "start-worker" ] ; then
php artisan key:check || exit 1
php artisan storage:mkdirs
php -d memory_limit=-1 artisan queue:work --verbose --max-time=3600 --memory=${WORKER_MEMORY_LIMIT:-256}

Expand Down