From b0e53cb6f346fba45ec486e19a8660ce7511d185 Mon Sep 17 00:00:00 2001 From: "iVampireSP.com" Date: Sun, 12 Feb 2023 01:40:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20supervisor=20=E9=98=9F?= =?UTF-8?q?=E5=88=97=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- supervisor/lae-workers.conf | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 supervisor/lae-workers.conf diff --git a/supervisor/lae-workers.conf b/supervisor/lae-workers.conf new file mode 100644 index 0000000..2a991ae --- /dev/null +++ b/supervisor/lae-workers.conf @@ -0,0 +1,12 @@ +[program:lae-queues] +process_name=%(program_name)s_%(process_num)02d +command=docker run -i --init --restart=always --net=host -v /opt/lae:/opt/lae ccr.ccs.tencentyun.com/laecloud/cafe:latte art queue:work --queue=default +autostart=true +autorestart=true +stopasgroup=true +killasgroup=true +user=root +numprocs=8 +redirect_stderr=true +stdout_logfile=/var/log/lae-worker.log +stopwaitsecs=3600