Skip to content

Add Laravel queue worker to startup - #613

Merged
daveearley merged 3 commits into
HiEventsDev:developfrom
creativeindustriesgroup:feat/02/laravel-queue-work
Jun 14, 2025
Merged

Add Laravel queue worker to startup#613
daveearley merged 3 commits into
HiEventsDev:developfrom
creativeindustriesgroup:feat/02/laravel-queue-work

Conversation

@creativeindustriesgroup

@creativeindustriesgroup creativeindustriesgroup commented Jun 11, 2025

Copy link
Copy Markdown
Contributor

This pull request adds a new program configuration to the supervisord.conf to ensure that php artisan queue:work is ran automatically on startup. The configuration ensures proper logging and automatic restart behavior for the queue worker process. Fixes #270, #506.

Added Laravel queue worker configuration:

  • docker/all-in-one/supervisor/supervisord.conf: Added a [program:laravel-queue-worker] section to run Laravel's queue worker with specific parameters, including autostart, autorestart, logging to standard output and error, and setting log file size limits to zero for unlimited logging.
@daveearley

Copy link
Copy Markdown
Contributor

Thanks for this! I can test this tomorrow

@daveearley

daveearley commented Jun 14, 2025

Copy link
Copy Markdown
Contributor

LGTM, thank you. I also added a Redis container to the development all-in-one setup and make Redis the default queue driver

@daveearley
daveearley merged commit 9c248df into HiEventsDev:develop Jun 14, 2025
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 14, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

2 participants