-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathsupervisord.conf
More file actions
38 lines (33 loc) · 1.34 KB
/
supervisord.conf
File metadata and controls
38 lines (33 loc) · 1.34 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
[unix_http_server]
file=/tmp/flompt-supervisor.sock
[supervisord]
logfile=/tmp/flompt-supervisord.log
logfile_maxbytes=10MB
loglevel=info
pidfile=/tmp/flompt-supervisord.pid
nodaemon=false
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[supervisorctl]
serverurl=unix:///tmp/flompt-supervisor.sock
; ── Backend FastAPI ────────────────────────────────────────────────────────────
[program:flompt-backend]
command=/projects/flompt/backend/.venv/bin/uvicorn app.main:app --host 0.0.0.0 --port 8000
directory=/projects/flompt/backend
autostart=true
autorestart=true
startretries=5
redirect_stderr=true
stdout_logfile=/tmp/flompt-backend.log
stdout_logfile_maxbytes=5MB
environment=PATH="/projects/flompt/backend/.venv/bin:%(ENV_PATH)s"
; ── Caddy reverse proxy ────────────────────────────────────────────────────────
[program:flompt-caddy]
command=/projects/flompt/caddy run --config /projects/flompt/Caddyfile
directory=/projects/flompt
autostart=true
autorestart=true
startretries=5
redirect_stderr=true
stdout_logfile=/tmp/flompt-caddy.log
stdout_logfile_maxbytes=5MB