-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
49 lines (47 loc) · 1.17 KB
/
Copy pathrender.yaml
File metadata and controls
49 lines (47 loc) · 1.17 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
services:
# Backend API
- type: web
name: devdna-backend
runtime: node
rootDir: backend
buildCommand: npm install
startCommand: node index.js
envVars:
- key: NODE_ENV
value: production
- key: PORT
value: 4000
- key: GROQ_API_KEY
sync: false # set manually in Render dashboard
- key: GEMINI_API_KEY
sync: false
- key: GITHUB_TOKEN
sync: false
- key: REDIS_URL
fromService:
name: devdna-redis
type: redis
property: connectionString
healthCheckPath: /health
# Frontend
- type: web
name: devdna-frontend
runtime: node
rootDir: frontend
buildCommand: npm install && npm run build
startCommand: node .next/standalone/server.js
envVars:
- key: NODE_ENV
value: production
- key: NEXT_PUBLIC_API_URL
fromService:
name: devdna-backend
type: web
property: host
transform: "https://{value}"
# Redis
- type: redis
name: devdna-redis
plan: free
maxmemoryPolicy: allkeys-lru
ipAllowList: [] # allow all — fine for internal service communication