-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsupervisord.conf
More file actions
50 lines (45 loc) · 1.6 KB
/
supervisord.conf
File metadata and controls
50 lines (45 loc) · 1.6 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
#-----------------------------------------------------------------------------
# Core supervisor configuration
#-----------------------------------------------------------------------------
[supervisord]
nodaemon=true
loglevel=warn
#-----------------------------------------------------------------------------
# Web-based management interface
#-----------------------------------------------------------------------------
[inet_http_server]
port = 127.0.0.1:9001
username = cw_admin
password = ch@nnelw@tch99
#-----------------------------------------------------------------------------
# RPC Interfaces
#-----------------------------------------------------------------------------
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[supervisorctl]
serverurl=http://127.0.0.1:9001
username = cw_admin
password = ch@nnelw@tch99
#-----------------------------------------------------------------------------
# Managed services
#-----------------------------------------------------------------------------
[program:core]
command=python -u -m core.main --stay-alive
environment=PYTHONPATH=/app
directory=/app
autostart=true
autorestart=true
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
[program:ui]
command=uvicorn ui.main:app --host 0.0.0.0 --port 8501 --log-level warning
environment=PYTHONPATH="/app",SUPERVISOR_USER="cw_admin",SUPERVISOR_PASS="ch@nnelw@tch99"
directory=/app
autostart=true
autorestart=true
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0