-
Notifications
You must be signed in to change notification settings - Fork 260
Expand file tree
/
Copy pathsupervisord.conf
More file actions
66 lines (57 loc) · 1.47 KB
/
supervisord.conf
File metadata and controls
66 lines (57 loc) · 1.47 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
60
61
62
63
64
65
66
[unix_http_server]
file=/tmp/supervisor.sock
chmod=0700
[supervisord]
nodaemon=true
logfile=/dev/stdout
logfile_maxbytes=0
pidfile=/tmp/supervisord.pid
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[supervisorctl]
serverurl=unix:///tmp/supervisor.sock
; ---------- Conditional programs ----------
[program:js-adapter]
command=yarn server
directory=/home/node/app
autostart=false
autorestart=unexpected
priority=20
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
startsecs=5
environment=CACHE_TYPE=redis,CACHE_REDIS_HOST=localhost,EA_PORT="8070",EA_HOST="127.0.0.1",METRICS_ENABLED=true,METRICS_PORT=9081
[program:go-adapter]
command=/usr/local/bin/streams-adapter
autostart=false
autorestart=unexpected
priority=10
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
startsecs=5
environment=EA_PORT=8070,EA_INTERNAL_HOST="127.0.0.1",EA_METRICS_PORT=9081
[group:streams-adapter]
programs=go-adapter,js-adapter
[program:js-adapter-original]
command=yarn server
directory=/home/node/app
autostart=false
autorestart=unexpected
priority=20
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
startsecs=5
[program:selector]
command=/usr/local/bin/start-supervisor.sh
autostart=true
autorestart=false
startsecs=0
priority=1
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0