File tree Expand file tree Collapse file tree 3 files changed +11
-7
lines changed
etc/s6-overlay/s6-rc.d/queue Expand file tree Collapse file tree 3 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ FROM serversideup/php:8.4-fpm-nginx-alpine
33COPY --chmod=755 common/etc/entrypoint.d /etc/entrypoint.d
44COPY --chmod=755 common/etc/s6-overlay /etc/s6-overlay
55COPY --chmod=755 --chown=www-data:www-data common/etc/nginx /etc/nginx
6+ COPY --chmod=755 common/usr/local/bin /usr/local/bin
67
78# PHP limits
89ENV PHP_MEMORY_LIMIT=256M
Original file line number Diff line number Diff line change 22
33if [ "$QUEUE_ENABLED" = "true" ]; then
44 echo "✅ Queue is enabled"
5- php "$APP_BASE_DIR/artisan" queue:work \
6- --max-jobs $QUEUE_MAX_JOBS \
7- --sleep $QUEUE_SLEEP \
8- --rest $QUEUE_REST \
9- --timeout $QUEUE_TIMEOUT \
10- --tries $QUEUE_TRIES \
11- --force
5+ queue-work
126else
137 echo "❌ Queue is disabled"
148 s6-svc -Od .
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ artisan queue:work \
4+ --max-jobs $QUEUE_MAX_JOBS \
5+ --sleep $QUEUE_SLEEP \
6+ --rest $QUEUE_REST \
7+ --timeout $QUEUE_TIMEOUT \
8+ --tries $QUEUE_TRIES \
9+ --force
You can’t perform that action at this time.
0 commit comments