ifieryarrows commited on
Commit
4433e92
·
verified ·
1 Parent(s): 06d9b9c

Sync from GitHub (tests passed)

Browse files
Files changed (1) hide show
  1. 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=/dev/stdout
12
  stdout_logfile_maxbytes=0
13
- stderr_logfile=/dev/stderr
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=/dev/stdout
23
  stdout_logfile_maxbytes=0
24
- stderr_logfile=/dev/stderr
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=/dev/stdout
35
  stdout_logfile_maxbytes=0
36
- stderr_logfile=/dev/stderr
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"