-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsupervisor-app.conf
More file actions
39 lines (34 loc) · 1.28 KB
/
supervisor-app.conf
File metadata and controls
39 lines (34 loc) · 1.28 KB
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
[program:app-uwsgi]
command = /app/app-env/bin/uwsgi --ini /app/uwsgi.ini --logto /tmp/uwsgi.log
user = dispatch
environment=PYTHONPATH=/app/src
stderr_logfile=/var/log/supervisor/uwsgi.error.log
stdout_logfile=/var/log/supervisor/uwsgi.info.log
[program:app-rqworker]
command = /app/app-env/bin/rqworker -v --worker-ttl 1200 high medium low
user = dispatch
environment=PYTHONPATH=/app/src
numprocs=4
process_name=%(program_name)s-%(process_num)02d
stderr_logfile=/var/log/supervisor/rqworker.error.log
stdout_logfile=/var/log/supervisor/rqworker.info.log
[program:app-luigi]
command = /app/app-env/bin/luigid
user = dispatch
environment=PYTHONPATH=/app/src
stderr_logfile=/var/log/supervisor/luigi.error.log
stdout_logfile=/var/log/supervisor/luigi.info.log
[program:app-nginx]
command = /usr/sbin/nginx
stderr_logfile=/var/log/supervisor/nginx.error.log
stdout_logfile=/var/log/supervisor/nginx.info.log
[program:app-redis]
command = redis-server
stderr_logfile=/var/log/supervisor/redis.error.log
stdout_logfile=/var/log/supervisor/redis.info.log
[program:app-logharvest]
command = /app/app-env/bin/python /app/src/tapirus/services/logharvest.py
user = dispatch
environment=PYTHONPATH=/app/src
stderr_logfile=/var/log/supervisor/logharvest.error.log
stdout_logfile=/var/log/supervisor/logharvest.info.log