-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrender.yaml
More file actions
46 lines (44 loc) · 1.14 KB
/
Copy pathrender.yaml
File metadata and controls
46 lines (44 loc) · 1.14 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
services:
- type: web
name: gitinsights-backend
env: node
region: oregon
plan: free
buildCommand: cd backend && npm install && DATABASE_URL="postgresql://dummy:dummy@localhost:5432/dummy" npx prisma generate
startCommand: cd backend && npx prisma migrate deploy && npm start
envVars:
- key: DATABASE_URL
fromDatabase:
name: gitinsights-db
property: connectionString
- key: NODE_ENV
value: production
- key: PORT
value: 10000
- key: GITHUB_CLIENT_ID
sync: false
- key: GITHUB_CLIENT_SECRET
sync: false
- key: GITHUB_CALLBACK_URL
sync: false
- key: JWT_SECRET
generateValue: true
- key: FRONTEND_URL
sync: false
- key: AI_SERVICE_URL
value: https://gitinsights-ai.onrender.com
- type: web
name: gitinsights-ai
env: docker
region: oregon
plan: free
dockerfilePath: ./ai-service/Dockerfile
dockerContext: ./ai-service
envVars:
- key: PORT
value: 8000
databases:
- name: gitinsights-db
databaseName: gitinsights
user: gitinsights
plan: free