Skip to content

Add Laravel queue worker to startup #613

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

creativeindustriesgroup
Copy link
Contributor

@creativeindustriesgroup creativeindustriesgroup commented Jun 11, 2025

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
Contributor

Thanks for this! I can test this tomorrow

@daveearley
Copy link
Contributor

daveearley commented Jun 14, 2025

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
1 check passed
@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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🐛 No e-mails are being sent when using SMTP driver with Resend server
2 participants