hackathon / supervisord.conf
mekosotto's picture
feat(deploy): Hugging Face Spaces Dockerfile + supervisord launcher
7d54187
raw
history blame contribute delete
673 Bytes
[supervisord]
nodaemon=true
user=root
logfile=/dev/stdout
logfile_maxbytes=0
pidfile=/tmp/supervisord.pid
[program:fastapi]
command=uvicorn src.api.main: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:streamlit]
command=streamlit run src/frontend/app.py --server.port 7860 --server.address 0.0.0.0 --server.headless true --server.enableCORS false
environment=NEUROBRIDGE_API_URL="http://127.0.0.1:8000"
autostart=true
autorestart=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0