-
Notifications
You must be signed in to change notification settings - Fork 2
/
supervisord.conf
39 lines (32 loc) · 1003 Bytes
/
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
[unix_http_server]
file=/var/run/supervisord.sock
[supervisorctl]
configuration=/etc/supervisord.conf
serverurl=unix:///var/run/supervisord.sock
[supervisord]
logfile=/data/logs/supervisord.log
pidfile=/var/run/supervisord.pid
user=root
directory=/data/repos
[rpcinterface:supervisor]
supervisor.rpcinterface_factory=supervisor.rpcinterface:make_main_rpcinterface
[program:sshd]
command=/usr/sbin/sshd -D -e
stdout_logfile=/data/logs/%(program_name)s.log
redirect_stderr=true
numprocs=1
[program:dev-server]
command=/opt/go/bin/dev server
stdout_logfile=/data/logs/%(program_name)s.log
redirect_stderr=true
numprocs=1
directory=/data/pub
[program:notebook]
command=/opt/python/notebook/bin/jupyter lab --allow-root --ip=0.0.0.0 --notebook-dir=%(ENV_JUPYTER_NOTEBOOK_DIR)s --no-browser
environment=SHELL=/usr/bin/zsh,PYTHONPATH=%(ENV_JUPYTER_NOTEBOOK_DIR)s
stdout_logfile=/data/logs/%(program_name)s.log
redirect_stderr=true
numprocs=1
directory=/root
[include]
files=/data/etc/supervisord/*.conf