AIDocScanner / supervisor.conf
GoldiSahoo's picture
Create supervisor.conf
c5e608c verified
[supervisord]
nodaemon=true
[program:uvicorn]
command=uvicorn api:app --host 0.0.0.0 --port 8000
stdout_logfile=/dev/stdout
stderr_logfile=/dev/stderr
autorestart=true
[program:streamlit]
command=streamlit run streamlit_app.py --server.port=8501 --server.address=0.0.0.0
stdout_logfile=/dev/stdout
stderr_logfile=/dev/stderr
autorestart=true