File size: 348 Bytes
a22d93a b3f2b26 94b2bf9 5af70ad a22d93a 5af70ad 94b2bf9 a22d93a 5af70ad b3f2b26 5af70ad |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
#!/bin/bash
set -e
# 1) Start Redis
redis-server &
# 2) Start Celery worker
celery -A celery_worker worker --loglevel=info &
# 3) Start FastAPI on 7861 (will be accessible at /proxy/7861)
uvicorn app.main:app --host 0.0.0.0 --port 7861 &
# 4) Start Streamlit on 7860 (root URL / will now show Streamlit)
streamlit run app.py --server.port 7860
|