From 03e12d8fe2c133f84b918142465cc79ac0fa25cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=B3=B4=EA=B3=A4?= Date: Sun, 15 Feb 2026 09:11:58 +0900 Subject: [PATCH] =?UTF-8?q?chore:Supervisor=EC=97=90=20Queue=20Worker=202?= =?UTF-8?q?=EA=B0=9C=20=EC=9E=90=EB=8F=99=20=EC=8B=A4=ED=96=89=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - numprocs=2 (영상 2개 동시 생성 가능) - timeout=1800, max-jobs=10, max-time=3600 - 자동 재시작 (autorestart=true) Co-Authored-By: Claude Opus 4.6 --- sam/docker/mng/supervisord.conf | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 sam/docker/mng/supervisord.conf diff --git a/sam/docker/mng/supervisord.conf b/sam/docker/mng/supervisord.conf new file mode 100755 index 0000000..5afeefa --- /dev/null +++ b/sam/docker/mng/supervisord.conf @@ -0,0 +1,23 @@ +[supervisord] +nodaemon=true + +[program:php-fpm] +command=/usr/local/sbin/php-fpm + +[program:nginx] +command=nginx -g "daemon off;" + +[program:queue-worker] +command=php /var/www/sales/artisan queue:work database --sleep=3 --tries=1 --timeout=1800 --max-jobs=10 --max-time=3600 +process_name=%(program_name)s_%(process_num)02d +numprocs=2 +directory=/var/www/sales +autostart=true +autorestart=true +startsecs=5 +startretries=3 +stopwaitsecs=1830 +stdout_logfile=/var/www/sales/storage/logs/queue-worker.log +stdout_logfile_maxbytes=5MB +stderr_logfile=/var/www/sales/storage/logs/queue-worker-error.log +stderr_logfile_maxbytes=5MB \ No newline at end of file