File size: 1,257 Bytes
fcac20b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
[supervisord]
directory=%(ENV_GSK_RUN)s/run
pidfile=%(ENV_GSK_RUN)s/run/supervisord.pid
logfile=%(ENV_GSK_RUN)s/run/supervisord.log
nodaemon=true

[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface


[unix_http_server]
file = %(ENV_GSK_RUN)s/run/svd.sock
username = giskard
password = giskard

[supervisorctl]
serverurl = unix://%(ENV_GSK_RUN)s/run/svd.sock
username = giskard
password = giskard


[program:backend]
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
autorestart=true
redirect_stderr=true
startsecs=5
command=bash -c 'sleep 3 && java -jar %(ENV_GSK_DIST_PATH)s/backend/giskard.jar'

[program:db]
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
autorestart=true
redirect_stderr=true
stopsignal=INT
startsecs=5
command=/bin/bash %(ENV_GSK_DIST_PATH)s/start-db.sh

[program:worker]
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
autorestart=true
redirect_stderr=true
startsecs=5
command=bash -c 'python -m giskard.cli worker stop -s && python -m giskard.cli worker start -s --parallelism 2'

[program:frontend]
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
autorestart=true
redirect_stderr=true
startsecs=5
priority=0
command=/bin/bash %(ENV_GSK_DIST_PATH)s/start-frontend.sh