Many of us struggled to setup supervisor with Laravel Worker in our docker container or web-server. Setup laravel queue: php artisan queue:table php artisan migrate

Now it's time for setup supervisor into docker container where you can follow 2 steps: You can access docker bash and install supervisor by command scripts (It is for local testing not for global deployment or team collaboration)

Then, build and start the docker: docker compose build docker compose up -d // -d for running the docker in background

You may find the job list with status and unique id from job_batches table after starting supervisor like below shot: https://res.cloudinary.com/practicaldev/image/fetch/s--6YIn4DaV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/blfkpyn8psty83igwzf0.png
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners