-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsupervisord.conf
More file actions
40 lines (37 loc) · 1009 Bytes
/
Copy pathsupervisord.conf
File metadata and controls
40 lines (37 loc) · 1009 Bytes
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
logfile=/app/logs/supervisord.log
pidfile=/var/run/supervisord.pid
user=root
[program:mynest-core]
command=/app/mynest
directory=/app
environment=LANG="C.UTF-8",LC_ALL="C.UTF-8"
autostart=true
autorestart=true
redirect_stderr=true
stdout_logfile=/app/logs/mynest-core.log
stderr_logfile=/app/logs/mynest-core.log
stdout_logfile_maxbytes=10MB
stdout_logfile_backups=3
[program:telegram-bot]
command=/app/telegram-bot
directory=/app
environment=PLUGIN_MODE=grpc,PLUGIN_PORT=50051,LANG="C.UTF-8",LC_ALL="C.UTF-8"
autostart=true
autorestart=true
redirect_stderr=true
stdout_logfile=/app/logs/telegram-bot.log
stderr_logfile=/app/logs/telegram-bot.log
stdout_logfile_maxbytes=10MB
stdout_logfile_backups=3
[program:nginx]
command=/usr/sbin/nginx -g "daemon off;"
environment=LANG="C.UTF-8",LC_ALL="C.UTF-8"
autostart=true
autorestart=true
redirect_stderr=true
stdout_logfile=/app/logs/nginx.log
stderr_logfile=/app/logs/nginx.log
stdout_logfile_maxbytes=10MB
stdout_logfile_backups=3