-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsupervisord.conf
More file actions
54 lines (47 loc) · 1.67 KB
/
Copy pathsupervisord.conf
File metadata and controls
54 lines (47 loc) · 1.67 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
[supervisord]
nodaemon=true
logfile=/tmp/supervisord.log
pidfile=/tmp/supervisord.pid
loglevel=info
[unix_http_server]
file=/tmp/supervisor.sock
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[supervisorctl]
serverurl=unix:///tmp/supervisor.sock
; ── ChromaDB vector store (internal port 8000) ────────────────────────────────
[program:chroma]
command=chroma run --path /data/chroma --host 127.0.0.1 --port 8000
directory=/app
autostart=true
autorestart=true
priority=10
stdout_logfile=/tmp/chroma.log
stderr_logfile=/tmp/chroma.err
; ── LiteLLM proxy replaced with lightweight Python proxy (no Prisma/DB) ──────
[program:litellm]
command=python /app/proxy.py
directory=/app
autostart=true
autorestart=true
priority=20
stdout_logfile=/tmp/litellm.log
stderr_logfile=/tmp/litellm.err
; ── Trinity Agent FastAPI (internal port 8001) ────────────────────────────────
[program:trinity-agent]
command=python app.py
directory=/app/agent
autostart=true
autorestart=true
priority=30
environment=LITELLM_API_BASE="http://127.0.0.1:4000",CHROMA_HOST="127.0.0.1",CHROMA_PORT="8000",PYTHONUNBUFFERED="1"
stdout_logfile=/tmp/agent.log
stderr_logfile=/tmp/agent.err
; ── Nginx (public port 7860) ──────────────────────────────────────────────────
[program:nginx]
command=nginx -g "daemon off;"
autostart=true
autorestart=true
priority=40
stdout_logfile=/tmp/nginx.log
stderr_logfile=/tmp/nginx.err