-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
76 lines (73 loc) · 2.26 KB
/
render.yaml
File metadata and controls
76 lines (73 loc) · 2.26 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# Render Blueprint — Iris cloud deployment (ADR-096).
# Deploy via Render Dashboard → New → Blueprint, point to this repo.
# Secrets (sync: false) must be entered manually in the Render Dashboard.
services:
# --- Frontend: SvelteKit SPA served as static files ---
- type: web
name: iris-frontend
runtime: static
buildCommand: cd frontend && npm ci && npm run build
staticPublishPath: frontend/build
envVars:
- key: VITE_DB_BACKEND
value: supabase
- key: VITE_SUPABASE_URL
sync: false
- key: VITE_SUPABASE_ANON_KEY
sync: false
- key: VITE_API_BASE_URL
sync: false
- key: VITE_SCENIA_URL
sync: false
# Absolute base URL for this deployment — used by Open Graph /
# Twitter meta tags so social preview images are served with a
# full URL (ADR-126). Example: `https://iris-uat.chrisbarlow.nz`.
# Interpolated into src/app.html at build time via
# %sveltekit.env.PUBLIC_SITE_URL%. Must be set per environment
# in the Render dashboard (sync: false).
- key: PUBLIC_SITE_URL
sync: false
routes:
- type: rewrite
source: /*
destination: /index.html
# --- Scenia: React roadmapping SPA (external fork) ---
- type: web
name: scenia
runtime: static
repo: https://github.com/cgbarlow/waylonkenning_scenia
branch: feature/iris-embed
buildCommand: npm ci && npx vite build --config vite.config.app.ts
staticPublishPath: dist
envVars:
- key: VITE_API_BASE_URL
sync: false
routes:
- type: rewrite
source: /*
destination: /index.html
# --- Backend: FastAPI via uvicorn (Docker for mdbtools/.eap import) ---
- type: web
name: iris-api
runtime: docker
plan: free
region: singapore
dockerfilePath: backend/Dockerfile
dockerContext: .
envVars:
- key: IRIS_DB_BACKEND
value: supabase
- key: SUPABASE_URL
sync: false
- key: SUPABASE_ANON_KEY
sync: false
- key: SUPABASE_SERVICE_ROLE_KEY
sync: false
- key: SUPABASE_DB_URL
sync: false
- key: SUPABASE_JWT_SECRET
sync: false
- key: IRIS_CORS_ORIGINS
sync: false
- key: IRIS_DEBUG
value: "false"