Hybride-Rag-service / supervisord.conf
CPDM's picture
Update supervisord.conf
5264a34 verified
Raw History Blame Contribute Delete
596 Bytes
[supervisord]
nodaemon=true
user=user
[program:embedding]
# Your original WORKDIR was /app
directory=/app/embed_service/app
command=uvicorn embed_service:app --host 0.0.0.0 --port 8000
autostart=true
autorestart=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
[program:rag_app]
# Your original WORKDIR was /app
directory=/app/rag_service/app
command=uvicorn app:app --host 0.0.0.0 --port 7860
autostart=true
autorestart=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0