-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
73 lines (70 loc) · 2.17 KB
/
render.yaml
File metadata and controls
73 lines (70 loc) · 2.17 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
projects:
- name: insurance-voice-demo
environments:
- name: production
services:
# Frontend - React Static Site
- type: web
runtime: static
name: insurance-demo-frontend
rootDir: frontend
buildCommand: npm install && npm run build
staticPublishPath: dist
pullRequestPreviewsEnabled: true
envVars:
- key: VITE_API_HOST
fromService:
name: insurance-demo-api
type: web
property: host
headers:
- path: /*
name: X-Frame-Options
value: DENY
routes:
- type: rewrite
source: /*
destination: /index.html
# API Server - FastAPI
- type: web
runtime: python
name: insurance-demo-api
rootDir: api
plan: starter
buildCommand: pip install -r requirements.txt
startCommand: uvicorn main:app --host 0.0.0.0 --port $PORT
healthCheckPath: /api/health
envVars:
- fromGroup: livekit-config
- fromGroup: render-config
# LiveKit Agent - Must be a worker (persistent connection to LiveKit)
- type: worker
runtime: python
name: insurance-demo-agent
rootDir: agent
plan: starter
buildCommand: pip install -r requirements.txt
startCommand: python main.py start
envVars:
- fromGroup: livekit-config
- fromGroup: ai-config
- key: API_HOST
fromService:
name: insurance-demo-api
type: web
property: host
# NOTE: Environment groups are NOT defined here to prevent Blueprint from
# overwriting values on each deploy. Create these groups manually in Dashboard:
#
# 1. livekit-config:
# - LIVEKIT_URL
# - LIVEKIT_API_KEY
# - LIVEKIT_API_SECRET
#
# 2. render-config:
# - RENDER_API_KEY
# - WORKFLOW_SERVICE_ID
#
# 3. ai-config:
# - OPENAI_API_KEY
#