-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
36 lines (35 loc) · 1.32 KB
/
Copy pathrender.yaml
File metadata and controls
36 lines (35 loc) · 1.32 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
# Render Blueprint — deploys the Contextifly backend on Render's free plan.
#
# One-time setup (all free, no card):
# 1. Create a Postgres DB at https://neon.tech → copy its connection string
# 2. Create a Redis DB at https://upstash.com → copy its rediss:// URL
# 3. On https://render.com: New → Blueprint → pick this repo, then fill in
# the three `sync: false` env vars (DATABASE_URL, REDIS_URL, LLM_API_KEY).
#
# Free-plan caveat: the service spins down after ~15 min idle; the first
# request after that takes ~30-60s. analyze_screenshot's 120s timeout covers it.
services:
- type: web
name: contextifly-backend
runtime: docker
plan: free
dockerfilePath: ./Dockerfile
dockerContext: .
healthCheckPath: /health
envVars:
- key: NODE_ENV
value: production
- key: DATABASE_URL
sync: false # Neon connection string (postgres://...)
- key: DATABASE_SSL
value: "true"
- key: REDIS_URL
sync: false # Upstash URL (rediss://...)
- key: LLM_PROVIDER
value: openai-compatible
- key: LLM_BASE_URL
value: https://api.groq.com/openai/v1
- key: LLM_MODEL
value: meta-llama/llama-4-scout-17b-16e-instruct
- key: LLM_API_KEY
sync: false # Groq key (gsk_...) — server default; users can still BYOK