-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathsupervisord.conf
More file actions
35 lines (30 loc) · 838 Bytes
/
Copy pathsupervisord.conf
File metadata and controls
35 lines (30 loc) · 838 Bytes
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
[unix_http_server]
file=/tmp/supervisor.sock
[supervisorctl]
serverurl=unix:///tmp/supervisor.sock
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[supervisord]
nodaemon=true
logfile=/dev/null
logfile_maxbytes=0
pidfile=/tmp/supervisord.pid
[program:backend]
command=/app/backend/.venv/bin/uvicorn main:app --host 127.0.0.1 --port %(ENV_BACKEND_PORT)s
directory=/app/backend
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
autorestart=true
priority=1
[program:frontend]
command=node /app/frontend/dist/server/entry.mjs
directory=/app/frontend
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
autorestart=true
priority=2
environment=HOST="0.0.0.0",PORT="7330"