Laravel Worker service for Docker
1.0K
A docker image for working with queues being monitored by supervisor as recommended by laravel.
This is based upon the work by ipunktbs/laravel-queue-worker just somewhat refined for my needs.
Running with redis you can configure your QUEUE_CONNECTION environment variable to match your redis link. In our case the link is called redis so the default value will be redis.
The default queue name in laravel is called default. So we configured the QUEUE_NAME environment variable to this value.
If you want to use Laravel Horizon then you have to set the environment LARAVEL_HORIZON to true. By default it is false.
From now on each php version will have it's own version branch starting at 1.0.0
| php | docker image |
|---|---|
| 7.0 | ipunktbs/laravel-queue-worker:php7.0-v1.4 |
| 7.1 | ipunktbs/laravel-queue-worker:php7.1-v2.4 |
| 7.2 | ipunktbs/laravel-queue-worker:php7.2-v3.4 |
| 7.4 | ipunktbs/laravel-queue-worker:php7.4-v1.0.0 |
Content type
Image
Digest
Size
45.4 MB
Last updated
over 6 years ago
docker pull ipforpat/docker-laravel-queue-worker:php7.4-v1.0.0