Create supervisord.conf
Browse files- supervisord.conf +18 -0
supervisord.conf
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[supervisord]
|
| 2 |
+
nodaemon=true
|
| 3 |
+
|
| 4 |
+
[program:backend]
|
| 5 |
+
directory=/app
|
| 6 |
+
command=/app/.venv/bin/python devika.py
|
| 7 |
+
autostart=true
|
| 8 |
+
autorestart=true
|
| 9 |
+
stdout_logfile=/dev/stdout
|
| 10 |
+
stderr_logfile=/dev/stderr
|
| 11 |
+
|
| 12 |
+
[program:frontend]
|
| 13 |
+
directory=/app/ui
|
| 14 |
+
command=bun run start --port 7860
|
| 15 |
+
autostart=true
|
| 16 |
+
autorestart=true
|
| 17 |
+
stdout_logfile=/dev/stdout
|
| 18 |
+
stderr_logfile=/dev/stderr
|