-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
28 lines (27 loc) · 775 Bytes
/
render.yaml
File metadata and controls
28 lines (27 loc) · 775 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
services:
- type: web
name: rag-system-api
env: python
buildCommand: pip install -r requirements.txt
startCommand: python -m src.api.main --host 0.0.0.0 --port $PORT
plan: free
envVars:
- key: PYTHONPATH
value: /opt/render/project/src
- key: PYTHONUNBUFFERED
value: 1
disk:
name: rag-data
mountPath: /opt/render/project/src/data
sizeGB: 1
- type: web
name: rag-system-ui
env: python
buildCommand: pip install -r requirements.txt
startCommand: streamlit run ui/app.py --server.port $PORT --server.address 0.0.0.0
plan: free
envVars:
- key: PYTHONPATH
value: /opt/render/project/src
- key: API_BASE_URL
value: https://rag-system-api.onrender.com