-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
48 lines (45 loc) · 1.73 KB
/
Copy pathrender.yaml
File metadata and controls
48 lines (45 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
# Render.com Blueprint — deploy LectureDigest for free
# Docs: https://render.com/docs/blueprint-spec
#
# How to use:
# 1. Push this repo to GitHub
# 2. Go to https://dashboard.render.com/select-repo
# 3. Connect your GitHub repo — Render auto-detects this file
# 4. Set GEMINI_API_KEY in the Environment Variables panel
# 5. Click Deploy!
services:
- type: web
name: lecturedigest
runtime: docker
dockerfilePath: ./Dockerfile
plan: free # Free tier (750 hrs/month)
region: singapore # Closest to Vietnam
autoDeploy: true # Auto-deploy on every git push
envVars:
- key: GEMINI_API_KEY
sync: false # You must set this manually in Render dashboard
- key: JWT_SECRET
generateValue: true # Render generates a strong random secret once
- key: TRUST_PROXY
value: "true" # Render runs behind a proxy — trust X-Forwarded-For
- key: ADMIN_EMAILS
sync: false # Comma-separated admin emails, e.g. you@gmail.com
# ── Email — Resend HTTP API (recommended; Render blocks SMTP ports) ──
- key: RESEND_API_KEY
sync: false # Get a free key at resend.com
- key: EMAIL_FROM
sync: false # e.g. "LectureDigest <onboarding@resend.dev>"
# ── Email (SMTP) — only works locally; Render blocks ports 25/465/587 ──
- key: SMTP_HOST
sync: false
- key: SMTP_PORT
sync: false
- key: SMTP_USER
sync: false
- key: SMTP_PASS
sync: false
- key: SMTP_FROM
sync: false
- key: APP_BASE_URL
sync: false # e.g. https://lecturedigest.onrender.com
healthCheckPath: /health