Repository navigation
Expand file tree
/
Copy pathrender.yaml
More file actions
61 lines (58 loc) · 2.15 KB
/
Copy pathrender.yaml
File metadata and controls
61 lines (58 loc) · 2.15 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
59
60
61
## AssetStream — Render Blueprint
## Deploy the entire stack with one click via render.com/deploy
services:
# ── Managed Redis ──────────────────────────────────────────────────────────
- type: redis
name: assetstream-redis
plan: free
maxmemoryPolicy: allkeys-lru
ipAllowList: []
# ── Django API (web) ───────────────────────────────────────────────────────
- type: web
name: assetstream-api
runtime: docker
dockerfilePath: backend/Dockerfile
dockerContext: backend
dockerCommand: bash start.sh
plan: free
envVars:
- key: DJANGO_ENV
value: production
- key: SECRET_KEY
generateValue: true
- key: POSTGRES_DB
value: postgres
- key: POSTGRES_USER
value: postgres
- key: POSTGRES_PASSWORD
sync: false # Paste your Supabase DB password here in Render dashboard
- key: DB_HOST
sync: false # Paste your Supabase host e.g. db.xxxx.supabase.co
- key: DB_PORT
value: "5432"
- key: REDIS_URL
fromService:
type: redis
name: assetstream-redis
property: connectionString
- key: ALLOWED_HOSTS
value: assetstream-api.onrender.com
- key: CORS_ALLOWED_ORIGINS
value: https://assetstream-frontend.onrender.com
- key: GROQ_API_KEY
sync: false # Paste your Groq API key here in Render dashboard
- key: GROQ_MODEL
value: qwen/qwen3-32b
# ── Next.js Frontend (web) ─────────────────────────────────────────────────
- type: web
name: assetstream-frontend
runtime: docker
dockerfilePath: frontend/Dockerfile
dockerContext: frontend
plan: free
envVars:
- key: PORT
value: 3000
- key: NEXT_PUBLIC_API_URL
value: https://assetstream-api.onrender.com/api
scope: build