Skip to content

paddy01/docker-laravel-queue-worker

 
 

Repository files navigation

Laravel Queue Worker

A docker image for working with queues being monitored by supervisor as recommended by laravel.

Credits

This is based upon the work by ipunktbs/laravel-queue-worker just somewhat refined for my needs.

Environment Configuration

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.

If you want to set where Laravel is mounted set the enviroment LARAVEL_HOME to the new path. Default is /var/www.

Docker Images

php docker image
7.0 ipforpat/laravel-queue-worker:php7.0-v1.3
7.1 ipforpat/laravel-queue-worker:php7.1-v2.3
7.2 ipforpat/laravel-queue-worker:php7.2-v3.3

About

A docker image for working with queues being monitored by supervisor as recommended by laravel.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 63.4%
  • Smarty 36.6%