-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
51 lines (50 loc) · 1.7 KB
/
Copy pathrender.yaml
File metadata and controls
51 lines (50 loc) · 1.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
# Render blueprint for the hosted MasterMode demo.
#
# Deploy: connect this GitHub repo on render.com → "New Blueprint" → pick
# this file. Render reads it, provisions, sets up secrets via dashboard.
#
# Required secret (in dashboard, not committed):
# GOOGLE_API_KEY — Gemini chat + embeddings
#
# Optional secrets:
# LIFEOS_JUDGE_PROVIDER, LIFEOS_JUDGE_MODEL, OPENAI_API_KEY — only
# needed if you want to run benches in production.
#
# Notes:
# - Free tier (0.1 vCPU, 512MB RAM, no persistent disk). Fits because
# we use Gemini for embeddings + chat — no torch / sentence-
# transformers. Cross-encoder reranker auto-disables gracefully
# (falls back to RRF order only).
# - DB lives in /tmp; reset on each restart, but the demo seeds on
# boot anyway. For starter-plan persistence add a `disk:` block.
services:
- type: web
name: mastermode-demo
runtime: python
region: oregon
plan: free
pythonVersion: "3.11"
buildCommand: |
pip install --upgrade pip
pip install -e .
cd frontend && npm install && npm run build
startCommand: |
uvicorn lifeos.demo.server:app --host 0.0.0.0 --port $PORT
envVars:
- key: LIFEOS_DATA_DIR
value: /tmp/mm_demo
- key: MASTERMODE_DEMO_MODE
value: "true"
- key: LIFEOS_LLM_PROVIDER
value: gemini
- key: EMBEDDING_PROVIDER
value: gemini # network embeddings — no local torch
- key: HF_HUB_DISABLE_PROGRESS_BARS
value: "1"
- key: TRANSFORMERS_VERBOSITY
value: error
- key: TQDM_DISABLE
value: "1"
- key: GOOGLE_API_KEY
sync: false # set via dashboard
healthCheckPath: /api/graph/stats