-
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) · 870 Bytes
/
Copy pathrender.yaml
File metadata and controls
28 lines (27 loc) · 870 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:
# Backend Service
- type: web
name: drona-backend
env: python
rootDir: backend
buildCommand: pip install -r requirements.txt
startCommand: uvicorn main:app --host 0.0.0.0 --port $PORT
envVars:
- key: PYTHON_VERSION
value: 3.11.0
- key: ANTHROPIC_API_KEY
sync: false
- key: CLAUDE_MODEL
value: claude-sonnet-4-5-20250929 # This means the user must provide it manually in the dashboard, treating it as a secret
# Frontend Service
- type: static
name: drona-frontend
env: static
rootDir: frontend
buildCommand: npm install && npm run build
staticPublishPath: dist
envVars:
- key: NODE_VERSION
value: 18.17.0
- key: VITE_API_BASE_URL
sync: false # User must set this to the Backend Service URL (e.g., https://drona-backend.onrender.com)