-
Notifications
You must be signed in to change notification settings - Fork 120
Expand file tree
/
Copy pathrender.yaml
More file actions
65 lines (64 loc) · 1.73 KB
/
render.yaml
File metadata and controls
65 lines (64 loc) · 1.73 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
services:
# ── Agent (LangGraph Python) — native Python with FastAPI + uvicorn ──
- type: web
name: open-generative-ui-agent
runtime: python
plan: starter
rootDir: apps/agent
buildCommand: pip install uv && uv sync
startCommand: uv run uvicorn main:app --host 0.0.0.0 --port $PORT
healthCheckPath: /health
scaling:
minInstances: 1
maxInstances: 3
targetMemoryPercent: 80
targetCPUPercent: 70
envVars:
- key: PYTHON_VERSION
value: "3.12.6"
- key: OPENAI_API_KEY
sync: false
- key: LANGSMITH_API_KEY
sync: false
- key: LLM_MODEL
value: gpt-5.4-2026-03-05
buildFilter:
paths:
- apps/agent/**
# ── Frontend (Next.js) — native Node runtime ──
- type: web
name: open-generative-ui-app
runtime: node
plan: starter
scaling:
minInstances: 1
maxInstances: 3
targetMemoryPercent: 80
targetCPUPercent: 70
buildCommand: corepack enable && pnpm install --no-frozen-lockfile && pnpm --filter @repo/app build
startCommand: pnpm --filter @repo/app start
healthCheckPath: /api/health
envVars:
- key: NODE_VERSION
value: "22"
- key: SKIP_INSTALL_DEPS
value: "true"
- key: LANGGRAPH_DEPLOYMENT_URL
fromService:
name: open-generative-ui-agent
type: web
property: hostport
- key: LANGSMITH_API_KEY
sync: false
- key: RATE_LIMIT_ENABLED
value: "false"
- key: RATE_LIMIT_WINDOW_MS
value: "60000"
- key: RATE_LIMIT_MAX
value: "40"
buildFilter:
paths:
- apps/app/**
- package.json
- pnpm-lock.yaml
- turbo.json