添加 supervisor 队列配置文件

This commit is contained in:
iVampireSP.com 2023-02-12 01:40:55 +08:00
parent 3fe48adbce
commit b0e53cb6f3
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132

View File

@ -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