| 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 | |