-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
30 lines (24 loc) · 896 Bytes
/
Copy pathrender.yaml
File metadata and controls
30 lines (24 loc) · 896 Bytes
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
# render.yaml — Render.com infrastructure-as-code for the FastAPI backend
# Docs: https://render.com/docs/blueprint-spec
services:
- type: web
name: genai-website-builder-api
runtime: python
rootDir: backend
buildCommand: pip install -r requirements.txt
startCommand: uvicorn main:app --host 0.0.0.0 --port 10000
plan: free # upgrade to starter for always-on
healthCheckPath: /health
envVars:
# Set these as secret values in the Render dashboard (do NOT commit real keys)
- key: GROQ_API_KEY
sync: false
- key: LANGFUSE_PUBLIC_KEY
sync: false
- key: LANGFUSE_SECRET_KEY
sync: false
- key: LANGFUSE_BASE_URL
value: https://cloud.langfuse.com
# Your Vercel frontend URL — e.g. https://genai-website-builder.vercel.app
- key: ALLOWED_ORIGIN
sync: false