Spaces:
Sleeping
Sleeping
Commit ·
ee36d80
1
Parent(s): 73c2d5d
modification Supervisord
Browse files- supervisord.conf +11 -6
supervisord.conf
CHANGED
|
@@ -1,23 +1,28 @@
|
|
| 1 |
[supervisord]
|
| 2 |
nodaemon=true
|
|
|
|
|
|
|
| 3 |
|
| 4 |
[program:api]
|
| 5 |
command=poetry run uvicorn app.api:app --host 0.0.0.0 --port 8000
|
| 6 |
autostart=true
|
| 7 |
autorestart=true
|
| 8 |
-
|
| 9 |
-
|
|
|
|
| 10 |
|
| 11 |
[program:dashboard]
|
| 12 |
command=poetry run streamlit run dashboard/dshbd.py --server.address 0.0.0.0 --server.port 8501 --server.headless true
|
| 13 |
autostart=true
|
| 14 |
autorestart=true
|
| 15 |
-
|
| 16 |
-
|
|
|
|
| 17 |
|
| 18 |
[program:nginx]
|
| 19 |
command=nginx -g "daemon off;"
|
| 20 |
autostart=true
|
| 21 |
autorestart=true
|
| 22 |
-
|
| 23 |
-
|
|
|
|
|
|
| 1 |
[supervisord]
|
| 2 |
nodaemon=true
|
| 3 |
+
logfile=/dev/null
|
| 4 |
+
pidfile=/tmp/supervisord.pid
|
| 5 |
|
| 6 |
[program:api]
|
| 7 |
command=poetry run uvicorn app.api:app --host 0.0.0.0 --port 8000
|
| 8 |
autostart=true
|
| 9 |
autorestart=true
|
| 10 |
+
redirect_stderr=true
|
| 11 |
+
stdout_logfile=/dev/fd/1
|
| 12 |
+
stdout_logfile_maxbytes=0
|
| 13 |
|
| 14 |
[program:dashboard]
|
| 15 |
command=poetry run streamlit run dashboard/dshbd.py --server.address 0.0.0.0 --server.port 8501 --server.headless true
|
| 16 |
autostart=true
|
| 17 |
autorestart=true
|
| 18 |
+
redirect_stderr=true
|
| 19 |
+
stdout_logfile=/dev/fd/1
|
| 20 |
+
stdout_logfile_maxbytes=0
|
| 21 |
|
| 22 |
[program:nginx]
|
| 23 |
command=nginx -g "daemon off;"
|
| 24 |
autostart=true
|
| 25 |
autorestart=true
|
| 26 |
+
redirect_stderr=true
|
| 27 |
+
stdout_logfile=/dev/fd/1
|
| 28 |
+
stdout_logfile_maxbytes=0
|