-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
101 lines (99 loc) · 2.7 KB
/
Copy pathrender.yaml
File metadata and controls
101 lines (99 loc) · 2.7 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
# Render Blueprint Configuration
# https://render.com/docs/blueprint-spec
services:
# Frontend - Static Site
- type: web
runtime: static
name: emofuneral-frontend
rootDir: frontend
buildCommand: bun install && bun run build
staticPublishPath: dist
envVars:
- key: VITE_API_URL
fromService:
name: emofuneral-backend
type: web
envVarKey: RENDER_EXTERNAL_URL
- key: VITE_API_TIMEOUT
value: "60000"
- key: VITE_RITUAL_CONTENT_MAX_CHARS
value: "500"
- key: VITE_BGM_VOLUME
value: "0.2"
- key: VITE_EFFECT_VOLUME
value: "0.5"
- key: VITE_ENABLE_MOCKS
value: "false"
routes:
- type: rewrite
source: /*
destination: /index.html
# Backend - FastAPI
- type: web
runtime: python
name: emofuneral-backend
rootDir: backend
buildCommand: uv sync
startCommand: uv run uvicorn app.main:app --host 0.0.0.0 --port $PORT
healthCheckPath: /health
envVars:
# Google API (for ADK)
- key: GOOGLE_API_KEY
sync: false
- key: GEMINI_MODEL
value: gemini-3-flash-preview
- key: GEMINI_GUARDRAIL_MODEL
value: gemini-2.5-flash-lite
- key: GEMINI_ROUTING_MODEL
value: gemini-2.5-flash-lite
- key: GEMINI_CRISIS_MODEL
value: gemini-3-flash-preview
- key: GEMINI_IMAGE_MODEL
value: gemini-2.5-flash-image
- key: GEMINI_ASR_MODEL
value: gemini-2.5-flash-lite
- key: GEMINI_SEARCH_MODEL
value: gemini-2.5-flash-lite
- key: GEMINI_SEARCH_MAX_TOKENS
value: "350"
- key: WORRY_HISTORY_LIMIT
value: "5"
- key: PERSPECTIVE_MAX_WORDS
value: "20"
- key: GEMINI_PROMPT_MODEL
value: gemini-3-flash-preview
- key: GEMINI_THINKING_LEVEL
value: LOW
- key: GEMINI_IMAGE_BLOCK_LEVEL
value: BLOCK_ONLY_HIGH
- key: GEMINI_MAX_OUTPUT_TOKENS
value: "4096"
- key: IMAGE_PROMPT_MAX_ATTEMPTS
value: "3"
- key: AGENT_MAX_RETRIES
value: "2"
- key: AGENT_RETRY_DELAY
value: "0.5"
- key: CONTENT_MAX_LENGTH
value: "500"
- key: GUARDRAIL_MAX_TOKENS
value: "50"
- key: DB_POOL_RECYCLE
value: "1800"
# Logfire (AI agent tracing)
- key: LOGFIRE_TOKEN
sync: false
# Server
- key: CORS_ORIGINS_STR
fromService:
name: emofuneral-frontend
type: web
envVarKey: RENDER_EXTERNAL_URL
- key: DATA_DIR
value: /var/data
- key: RATE_LIMIT_PER_MINUTE
value: "100"
disk:
name: emofuneral-data
mountPath: /var/data
sizeGB: 1