Skip to content

FosterCommerce/ddev-craft-queue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fostercommerce/ddev-craft-queue

tests project is maintained

Introduction

This add-on allows you to start a Craft queue worker in a Craft's DDEV web container.

Installation

ddev get fostercommerce/ddev-craft-queue
ddev restart

Configuration

This plugin adds the web-build/craft-worker.conf file. To configure your queue workers, remove the #ddev-generated line, and update the file.

For example, to run multiple queue workers, update the file to

[program:craft-queue]
process_name=%(program_name)s_%(process_num)s
command=/usr/bin/php /var/www/html/craft queue/listen
autostart=true
autorestart=true
numprocs=4
stdout_logfile=/var/tmp/logpipe
stdout_logfile_maxbytes=0
redirect_stderr=true
stopwaitsecs=3600

About

Start a Craft queue worker automatically in DDEV

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages