Upload supervisord.conf with huggingface_hub
Browse files- supervisord.conf +23 -0
supervisord.conf
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[supervisord]
|
| 2 |
+
nodaemon=true
|
| 3 |
+
logfile=/dev/null
|
| 4 |
+
logfile_maxbytes=0
|
| 5 |
+
|
| 6 |
+
[program:uvicorn]
|
| 7 |
+
command=uvicorn backend.main:app --host 127.0.0.1 --port 8000
|
| 8 |
+
directory=/app
|
| 9 |
+
autostart=true
|
| 10 |
+
autorestart=true
|
| 11 |
+
stdout_logfile=/dev/stdout
|
| 12 |
+
stdout_logfile_maxbytes=0
|
| 13 |
+
stderr_logfile=/dev/stderr
|
| 14 |
+
stderr_logfile_maxbytes=0
|
| 15 |
+
|
| 16 |
+
[program:nginx]
|
| 17 |
+
command=nginx -g "daemon off;"
|
| 18 |
+
autostart=true
|
| 19 |
+
autorestart=true
|
| 20 |
+
stdout_logfile=/dev/stdout
|
| 21 |
+
stdout_logfile_maxbytes=0
|
| 22 |
+
stderr_logfile=/dev/stderr
|
| 23 |
+
stderr_logfile_maxbytes=0
|