forked from seblful/label-studio-yolov8-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
supervisord.conf
40 lines (35 loc) · 951 Bytes
/
supervisord.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[supervisord]
nodaemon = true
loglevel = info
logfile = supervisord.log
[inet_http_server]
port=127.0.0.1:9001
[supervisorctl]
serverurl=http://127.0.0.1:9001
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[program:rq]
process_name=%(program_name)s_%(process_num)02d
command = rq worker --url redis://%(ENV_REDIS_HOST)s:6379/0 %(ENV_RQ_QUEUE_NAME)s
stopsignal = TERM
autostart = true
autorestart = true
killasgroup = true
stopasgroup = true
numprocs = 1
stderr_logfile = /dev/stderr
stderr_logfile_maxbytes = 0
stdout_logfile = /dev/stdout
stdout_logfile_maxbytes = 0
[program:wsgi]
environment =
RQ_QUEUE_NAME="%(ENV_RQ_QUEUE_NAME)s",
REDIS_HOST="%(ENV_REDIS_HOST)s"
command = uwsgi --ini /etc/uwsgi/uwsgi.ini
autostart = true
autorestart = true
stopsignal = QUIT
stderr_logfile = /dev/stderr
stderr_logfile_maxbytes = 0
stdout_logfile = /dev/stdout
stdout_logfile_maxbytes = 0