Spaces:
Paused
Paused
Create supervisord.conf
Browse files- supervisord.conf +27 -0
supervisord.conf
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
; supervisord.conf
|
| 2 |
+
[supervisord]
|
| 3 |
+
nodaemon=true
|
| 4 |
+
|
| 5 |
+
[program:fastapi_whisper]
|
| 6 |
+
command=uvicorn main:app --host 0.0.0.0 --port 1990
|
| 7 |
+
directory=/app
|
| 8 |
+
autostart=true
|
| 9 |
+
autorestart=true
|
| 10 |
+
stopasgroup=true
|
| 11 |
+
killasgroup=true
|
| 12 |
+
stdout_logfile=/dev/stdout
|
| 13 |
+
stdout_logfile_maxbytes=0
|
| 14 |
+
stderr_logfile=/dev/stderr
|
| 15 |
+
stderr_logfile_maxbytes=0
|
| 16 |
+
|
| 17 |
+
[program:streamlit_app]
|
| 18 |
+
command=streamlit run streamlit_app.py --server.port 8501 --server.enableCORS false --server.enableXsrfProtection false
|
| 19 |
+
directory=/app
|
| 20 |
+
autostart=true
|
| 21 |
+
autorestart=true
|
| 22 |
+
stopasgroup=true
|
| 23 |
+
killasgroup=true
|
| 24 |
+
stdout_logfile=/dev/stdout
|
| 25 |
+
stdout_logfile_maxbytes=0
|
| 26 |
+
stderr_logfile=/dev/stderr
|
| 27 |
+
stderr_logfile_maxbytes=0
|