-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
32 lines (31 loc) · 880 Bytes
/
Copy pathrender.yaml
File metadata and controls
32 lines (31 loc) · 880 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
services:
# QuantSnap Frontend (Streamlit)
- type: web
name: quantsnap-frontend
env: python
plan: free
buildCommand: pip install -r requirements.txt
startCommand: streamlit run frontend/app.py --server.port $PORT --server.address 0.0.0.0
envVars:
- key: PYTHON_VERSION
value: 3.9.16
- key: GEMINI_API_KEY
sync: false
- key: NEWS_API_KEY
sync: false
- key: BACKEND_URL
value: https://quantsnap-ai-backend.onrender.com
# QuantSnap AI Backend (Optional)
- type: web
name: quantsnap-ai-backend
env: python
plan: free
buildCommand: pip install -r requirements.txt
startCommand: uvicorn app.main:app --host 0.0.0.0 --port $PORT
envVars:
- key: PYTHON_VERSION
value: 3.9.16
- key: GEMINI_API_KEY
sync: false
- key: PORT
value: 8000