diff --git a/phpdocker/worker/laravel-worker.conf b/phpdocker/worker/laravel-worker.conf index 3d47d14..8cc5818 100644 --- a/phpdocker/worker/laravel-worker.conf +++ b/phpdocker/worker/laravel-worker.conf @@ -27,3 +27,29 @@ numprocs=1 redirect_stderr=true stdout_logfile=/application/storage/logs/schedule.log stopwaitsecs=3600 + +[program:laravel-feed-generation-worker] +process_name=%(program_name)s_%(process_num)02d +command=php /application/artisan queue:work --queue=feed-generation --sleep=1 --tries=3 --timeout=1800 --max-time=3600 +autostart=true +autorestart=true +stopasgroup=true +killasgroup=true +user=www-data +numprocs=8 +redirect_stderr=true +stdout_logfile=/application/storage/logs/feed-generation-worker.log +stopwaitsecs=3600 + +[program:laravel-scout-worker] +process_name=%(program_name)s_%(process_num)02d +command=php /application/artisan queue:work --queue=scout --sleep=1 --tries=3 --timeout=300 --max-time=3600 +autostart=true +autorestart=true +stopasgroup=true +killasgroup=true +user=www-data +numprocs=8 +redirect_stderr=true +stdout_logfile=/application/storage/logs/scout-worker.log +stopwaitsecs=3600