forked from Iankulani/bigphish
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsupervisord.conf
More file actions
59 lines (54 loc) · 1.37 KB
/
Copy pathsupervisord.conf
File metadata and controls
59 lines (54 loc) · 1.37 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
[supervisord]
logfile=/var/log/supervisord.log
logfile_maxbytes=50MB
logfile_backups=10
loglevel=info
pidfile=/var/run/supervisord.pid
nodaemon=false
user=root
[program:bigphish]
command=/app/venv/bin/python3 /app/bigphish.py
directory=/app
user=bigphish
autostart=true
autorestart=true
startsecs=10
startretries=3
redirect_stderr=true
stdout_logfile=/app/logs/bigphish.log
stdout_logfile_maxbytes=50MB
stdout_logfile_backups=10
environment=PATH="/app/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
[program:dashboard]
command=/app/venv/bin/python3 /app/metrics_dashboard.py
directory=/app
user=bigphish
autostart=true
autorestart=true
startsecs=5
startretries=3
redirect_stderr=true
stdout_logfile=/app/logs/dashboard.log
stdout_logfile_maxbytes=50MB
stdout_logfile_backups=10
[program:prometheus]
command=/usr/bin/prometheus --config.file=/app/prometheus.yml --storage.tsdb.path=/prometheus
directory=/app
user=bigphish
autostart=true
autorestart=true
startsecs=10
redirect_stderr=true
stdout_logfile=/app/logs/prometheus.log
[program:grafana]
command=/usr/sbin/grafana-server --homepath=/usr/share/grafana
directory=/app
user=bigphish
autostart=true
autorestart=true
startsecs=10
redirect_stderr=true
stdout_logfile=/app/logs/grafana.log
[group:bigphish]
programs=bigphish,dashboard,prometheus,grafana
priority=999