-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
74 lines (71 loc) · 2.16 KB
/
render.yaml
File metadata and controls
74 lines (71 loc) · 2.16 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
74
projects:
- name: voice-agent-workflow-ts
environments:
- name: production
services:
# Frontend - React Static Site
- type: web
runtime: static
name: voice-agent-ts-frontend
rootDir: frontend
buildCommand: npm install && npm run build
staticPublishPath: dist
pullRequestPreviewsEnabled: true
envVars:
- key: VITE_API_HOST
fromService:
name: voice-agent-ts-api
type: web
property: host
headers:
- path: /*
name: X-Frame-Options
value: DENY
routes:
- type: rewrite
source: /*
destination: /index.html
# API Server - Express (TypeScript)
- type: web
runtime: node
name: voice-agent-ts-api
rootDir: api
plan: starter
buildCommand: npm install && npm run build
startCommand: npm start
healthCheckPath: /api/health
envVars:
- fromGroup: livekit-config
- fromGroup: render-config
- fromGroup: ai-config
# LiveKit Agent - TypeScript worker
- type: worker
runtime: node
name: voice-agent-ts-agent
rootDir: agent
plan: starter
buildCommand: npm install && npm run build && npm run download-files
startCommand: npm start
envVars:
- fromGroup: livekit-config
- fromGroup: ai-config
- key: API_URL
fromService:
name: voice-agent-ts-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
#