-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
58 lines (50 loc) · 2.55 KB
/
render.yaml
File metadata and controls
58 lines (50 loc) · 2.55 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
services:
# ── Backend: FastAPI web service (Docker) ─────────────────────────────────────
- type: web
name: speakql-backend
runtime: docker
dockerfilePath: ./Dockerfile
plan: free
healthCheckPath: /health
envVars:
# ── Database ──────────────────────────────────────────────────────────────
- key: DB_URL
sync: false # paste: postgresql+asyncpg://USER:PASS@HOST/DB?ssl=require
# ── Redis (Upstash) ───────────────────────────────────────────────────────
- key: REDIS_URL
sync: false # paste: rediss://default:PASS@HOST.upstash.io:6379
# ── Qdrant Cloud ─────────────────────────────────────────────────────────
- key: QDRANT_URL
sync: false # paste: https://YOUR-CLUSTER.cloud.qdrant.io:6333
- key: QDRANT_API_KEY
sync: false
- key: QDRANT_COLLECTION
value: speakql_schema
# ── LLM ───────────────────────────────────────────────────────────────────
- key: LLM_PROVIDER
value: groq
- key: GROQ_API_KEY
sync: false
- key: OPENAI_API_KEY
sync: false
- key: GEMINI_API_KEY
sync: false
# ── Runtime mode ─────────────────────────────────────────────────────────
- key: ENV
value: production
# ── Frontend: Vite / React static site ───────────────────────────────────────
- type: web
name: speakql-frontend
runtime: static
rootDir: frontend
buildCommand: npm ci && npm run build
staticPublishPath: dist
envVars:
# Set this to your backend's public URL after first deploy, e.g.:
# https://speakql-backend.onrender.com
- key: VITE_API_URL
sync: false
routes:
- type: rewrite
source: /*
destination: /index.html