forked from osome-iu/BotSlayer-CE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
supervisord.conf
42 lines (38 loc) · 1.06 KB
/
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
41
42
[supervisord]
nodaemon=true
logfile=/root/bev/supervisord.log
logfile_maxbytes=10485760
logfile_backups=2
redirect_stderr=true
[program:psql]
command=/usr/local/bin/docker-entrypoint.sh postgres
stdout_logfile=/root/bev/db.log
stdout_logfile_maxbytes=10485760
stdout_logfile_backups=2
redirect_stderr=true
priority=100
[program:crawler]
directory=/root/bev/backend/bev_backend/bev_backend/crawler
command=python3 circus_launch.py
stdout_logfile=/root/bev/stream.log
stdout_logfile_maxbytes=10485760
stdout_logfile_backups=2
redirect_stderr=true
priority=200
[program:webserver]
directory=/root/bev/middleware
command=python3 application.py
logfile=/root/bev/middleware/application.log
stdout_logfile=/root/bev/server.log
stdout_logfile_maxbytes=10485760
stdout_logfile_backups=2
redirect_stderr=true
priority=300
[program:frontail]
directory=/root/bev
command=bash -c 'source ~/.bashrc && frontail db.log server.log stream.log supervisord.log'
stdout_logfile=/root/bev/frontail.stdout.log
stdout_logfile_maxbytes=10485760
stdout_logfile_backups=2
redirect_stderr=true
priority=1000