CPDM commited on
Commit
2c98e36
·
verified ·
1 Parent(s): f3a9858

Create supervisord.conf

Browse files
Files changed (1) hide show
  1. supervisord.conf +25 -0
supervisord.conf ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [supervisord]
2
+ nodaemon=true
3
+ user=user
4
+
5
+ [program:embedding]
6
+ # Your original WORKDIR was /app
7
+ directory=/app/embed_service/app
8
+ command=uvicorn embed_service:app --host 0.0.0.0 --port 8000
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:rag_app]
17
+ # Your original WORKDIR was /app
18
+ directory=/app/rag_service/app
19
+ command=uvicorn app:app --host 0.0.0.0 --port 7860
20
+ autostart=true
21
+ autorestart=true
22
+ stdout_logfile=/dev/stdout
23
+ stdout_logfile_maxbytes=0
24
+ stderr_logfile=/dev/stderr
25
+ stderr_logfile_maxbytes=0