Spaces:
Running
Running
Sync from GitHub (tests passed)
Browse files- supervisord.conf +6 -6
supervisord.conf
CHANGED
|
@@ -8,9 +8,9 @@ command=redis-server --save "" --appendonly no --bind 127.0.0.1 --port 6379
|
|
| 8 |
autorestart=true
|
| 9 |
startsecs=1
|
| 10 |
priority=1
|
| 11 |
-
stdout_logfile=/
|
| 12 |
stdout_logfile_maxbytes=0
|
| 13 |
-
stderr_logfile=/
|
| 14 |
stderr_logfile_maxbytes=0
|
| 15 |
|
| 16 |
[program:api]
|
|
@@ -19,9 +19,9 @@ command=python -m uvicorn app.main:app --host 0.0.0.0 --port 7860
|
|
| 19 |
autorestart=true
|
| 20 |
startsecs=3
|
| 21 |
priority=10
|
| 22 |
-
stdout_logfile=/
|
| 23 |
stdout_logfile_maxbytes=0
|
| 24 |
-
stderr_logfile=/
|
| 25 |
stderr_logfile_maxbytes=0
|
| 26 |
environment=REDIS_URL="redis://127.0.0.1:6379/0",PYTHONPATH="/code"
|
| 27 |
|
|
@@ -31,8 +31,8 @@ command=python -m worker.runner
|
|
| 31 |
autorestart=true
|
| 32 |
startsecs=5
|
| 33 |
priority=20
|
| 34 |
-
stdout_logfile=/
|
| 35 |
stdout_logfile_maxbytes=0
|
| 36 |
-
stderr_logfile=/
|
| 37 |
stderr_logfile_maxbytes=0
|
| 38 |
environment=REDIS_URL="redis://127.0.0.1:6379/0",PYTHONPATH="/code"
|
|
|
|
| 8 |
autorestart=true
|
| 9 |
startsecs=1
|
| 10 |
priority=1
|
| 11 |
+
stdout_logfile=/proc/1/fd/1
|
| 12 |
stdout_logfile_maxbytes=0
|
| 13 |
+
stderr_logfile=/proc/1/fd/2
|
| 14 |
stderr_logfile_maxbytes=0
|
| 15 |
|
| 16 |
[program:api]
|
|
|
|
| 19 |
autorestart=true
|
| 20 |
startsecs=3
|
| 21 |
priority=10
|
| 22 |
+
stdout_logfile=/proc/1/fd/1
|
| 23 |
stdout_logfile_maxbytes=0
|
| 24 |
+
stderr_logfile=/proc/1/fd/2
|
| 25 |
stderr_logfile_maxbytes=0
|
| 26 |
environment=REDIS_URL="redis://127.0.0.1:6379/0",PYTHONPATH="/code"
|
| 27 |
|
|
|
|
| 31 |
autorestart=true
|
| 32 |
startsecs=5
|
| 33 |
priority=20
|
| 34 |
+
stdout_logfile=/proc/1/fd/1
|
| 35 |
stdout_logfile_maxbytes=0
|
| 36 |
+
stderr_logfile=/proc/1/fd/2
|
| 37 |
stderr_logfile_maxbytes=0
|
| 38 |
environment=REDIS_URL="redis://127.0.0.1:6379/0",PYTHONPATH="/code"
|