-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
73 lines (70 loc) · 1.91 KB
/
render.yaml
File metadata and controls
73 lines (70 loc) · 1.91 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
# Render Blueprint - Infrastructure as Code
# Deploy all services with: render.com/deploy
# Docs: https://render.com/docs/blueprint-spec
services:
# Backend API - Web Service
- type: web
name: cicd-analyzer-api
runtime: node
region: oregon
plan: free
buildCommand: npm install && npx prisma generate --schema=./backend/prisma/schema.prisma
startCommand: npm run start:backend
healthCheckPath: /health
envVars:
- key: NODE_ENV
value: production
- key: PORT
value: 3001
- key: DATABASE_URL
sync: false # Set manually in dashboard
- key: REDIS_URL
fromService:
name: cicd-analyzer-redis
type: redis
property: connectionString
- key: GITHUB_CLIENT_ID
sync: false
- key: GITHUB_CLIENT_SECRET
sync: false
- key: GITHUB_CALLBACK_URL
sync: false
- key: GITHUB_APP_ID
sync: false
- key: GITHUB_PRIVATE_KEY
sync: false
- key: GITHUB_WEBHOOK_SECRET
sync: false
- key: JWT_SECRET
sync: false
- key: FRONTEND_URL
sync: false
# Background Worker - Log Processor
- type: worker
name: cicd-analyzer-worker
runtime: node
region: oregon
plan: free
buildCommand: npm install && npx prisma generate --schema=./backend/prisma/schema.prisma
startCommand: npm run start:worker
envVars:
- key: NODE_ENV
value: production
- key: DATABASE_URL
sync: false
- key: REDIS_URL
fromService:
name: cicd-analyzer-redis
type: redis
property: connectionString
- key: GITHUB_APP_ID
sync: false
- key: GITHUB_PRIVATE_KEY
sync: false
- key: GITHUB_WEBHOOK_SECRET
sync: false
databases:
# Redis for BullMQ job queue
- name: cicd-analyzer-redis
plan: free
ipAllowList: [] # Allow all internal services