-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
59 lines (57 loc) · 1.36 KB
/
render.yaml
File metadata and controls
59 lines (57 loc) · 1.36 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
# ============================================
# Render Blueprint - Production Deployment
# ============================================
services:
# MongoDB Database (External - Use MongoDB Atlas)
# Redis Cache (External - Use Redis Cloud or Upstash)
# Main API Service
- type: web
name: intervai-api
env: node
region: oregon
plan: starter
buildCommand: npm install
startCommand: npm start
healthCheckPath: /health
envVars:
- key: NODE_ENV
value: production
- key: PORT
value: 8000
- key: MONGO_URI
sync: false
- key: JWT_SECRET
generateValue: true
- key: GROQ_API_KEY
sync: false
- key: REDIS_HOST
sync: false
- key: REDIS_PORT
value: 6379
- key: REDIS_PASSWORD
sync: false
- key: CLIENT_URL
sync: false
autoDeploy: true
# Background Worker Service
- type: worker
name: intervai-worker
env: node
region: oregon
plan: starter
buildCommand: npm install
startCommand: node worker.js
envVars:
- key: NODE_ENV
value: production
- key: MONGO_URI
sync: false
- key: GROQ_API_KEY
sync: false
- key: REDIS_HOST
sync: false
- key: REDIS_PORT
value: 6379
- key: REDIS_PASSWORD
sync: false
autoDeploy: true