-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
55 lines (53 loc) · 1.32 KB
/
render.yaml
File metadata and controls
55 lines (53 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
databases:
# 1. Managed PostgreSQL (Database)
- name: cxc2026-db
plan: free
databaseName: cxc2026
user: cxc_user
region: oregon
services:
# 2. Backend (Docker Service)
- type: web
name: cxc2026-backend
env: docker
dockerContext: ./backend
dockerfilePath: ./backend/Dockerfile
plan: free
region: oregon
envVars:
- key: DATABASE_URL
fromDatabase:
name: cxc2026-db
property: connectionString
- key: OPENAI_API_KEY
sync: false
- key: TAVILY_API_KEY
sync: false
- key: SERPAPI_API_KEY
sync: false
- key: SNOWFLAKE_USER
sync: false
- key: SNOWFLAKE_PASSWORD
sync: false
- key: SNOWFLAKE_ACCOUNT
sync: false
- key: SNOWFLAKE_WAREHOUSE
sync: false
- key: SNOWFLAKE_DATABASE
sync: false
- key: SNOWFLAKE_SCHEMA
sync: false
# 3. Frontend (Node Service serving Static Site)
- type: web
name: cxc2026-frontend
env: node
plan: free
region: oregon
buildCommand: cd frontend && npm install && npm run build
startCommand: cd frontend && npm run preview -- --host 0.0.0.0 --port $PORT
envVars:
- key: VITE_API_BASE_URL
fromService:
type: web
name: cxc2026-backend
property: host