mgbam commited on
Commit
5af70ad
·
verified ·
1 Parent(s): 8482a9d

Update start.sh

Browse files
Files changed (1) hide show
  1. start.sh +6 -6
start.sh CHANGED
@@ -1,14 +1,14 @@
1
  #!/bin/bash
2
  set -e
3
 
4
- # Launch Redis server in background
5
  redis-server &
6
 
7
- # Launch Celery worker
8
  celery -A celery_worker worker --loglevel=info &
9
 
10
- # Launch FastAPI backend
11
- uvicorn app.main:app --host 0.0.0.0 --port 7860 &
12
 
13
- # Launch Streamlit frontend
14
- streamlit run app.py --server.port 7861
 
1
  #!/bin/bash
2
  set -e
3
 
4
+ # 1) Start Redis
5
  redis-server &
6
 
7
+ # 2) Start Celery worker
8
  celery -A celery_worker worker --loglevel=info &
9
 
10
+ # 3) Start FastAPI on 7861 (will be accessible at /proxy/7861)
11
+ uvicorn app.main:app --host 0.0.0.0 --port 7861 &
12
 
13
+ # 4) Start Streamlit on 7860 (root URL / will now show Streamlit)
14
+ streamlit run app.py --server.port 7860