-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
26 lines (25 loc) · 701 Bytes
/
render.yaml
File metadata and controls
26 lines (25 loc) · 701 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
services:
# Server Service
- type: web
name: bank-management-server
env: node
region: oregon
plan: free
buildCommand: cd server && npm ci
startCommand: cd server && npm start
healthCheckPath: /ping
envVars:
- key: NODE_ENV
value: production
# Add your database URL and other environment variables in the Render dashboard
# Client Service
- type: web
name: bank-management-client
env: static
region: oregon
plan: free
buildCommand: cd client && npm install && npm run build
staticPublishPath: client/build
envVars:
- key: REACT_APP_API_URL
value: https://bank-management-system-ivbu.onrender.com