-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrender.yaml
More file actions
33 lines (32 loc) · 1.01 KB
/
render.yaml
File metadata and controls
33 lines (32 loc) · 1.01 KB
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
33
services:
- type: web
name: sql-ball-backend
runtime: python
buildCommand: "cd backend && pip install -r requirements.txt"
startCommand: "cd backend && python -m uvicorn main:app --host 0.0.0.0 --port $PORT"
plan: starter
region: oregon
branch: main
healthCheckPath: /health
envVars:
- key: OPENAI_API_KEY
sync: false # Set this manually in Render dashboard
- key: ENVIRONMENT
value: production
- key: CHROMA_PERSIST_DIRECTORY
value: /opt/render/project/backend/chroma_db
- key: CHROMA_COLLECTION_NAME
value: sql_ball_schema
disk:
name: chroma-data
mountPath: /opt/render/project/backend/chroma_db
sizeGB: 1
# Optional: Add a background service for ChromaDB if needed
# - type: background
# name: chroma-db
# runtime: python
# buildCommand: "cd backend && pip install chromadb"
# startCommand: "cd backend && python start_chromadb.py"
# plan: starter
# region: oregon
# branch: main