-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
33 lines (31 loc) · 855 Bytes
/
Copy pathrender.yaml
File metadata and controls
33 lines (31 loc) · 855 Bytes
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
services:
- type: web
name: reporter-dashboard-frontend
env: node
buildCommand: cd frontend && npm install && npm run build
startCommand: cd frontend && npm start
envVars:
- key: NEXT_PUBLIC_API_URL
fromService:
type: web
name: reporter-dashboard-backend
envVarKey: RENDER_EXTERNAL_URL
- type: web
name: reporter-dashboard-backend
env: node
buildCommand: cd backend && npm install
startCommand: cd backend && npm start
envVars:
- key: PORT
value: 3001
- key: DATABASE_URL
fromDatabase:
name: reporter-dashboard-db
property: connectionString
- key: NODE_ENV
value: production
databases:
- name: reporter-dashboard-db
databaseName: reporter_dashboard
user: reporter_dashboard_user
plan: free