Skip to content

Commit dfdc5dc

Browse files
committed
Add Render deployment config for backend
1 parent d7d6b1e commit dfdc5dc

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

render.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
services:
2+
- type: web
3+
name: modelman-backend
4+
runtime: node
5+
plan: free
6+
buildCommand: npm install
7+
startCommand: node server/server-node.js
8+
envVars:
9+
- key: NODE_ENV
10+
value: production
11+
- key: PORT
12+
value: 8008
13+
- key: FRONTEND_URL
14+
value: https://modelman-web.onrender.com
15+
autoDeploy: true
16+
branch: main
17+
rootDir: .

0 commit comments

Comments
 (0)