forked from CipherYuvraj/Greenstagram
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
34 lines (33 loc) · 870 Bytes
/
render.yaml
File metadata and controls
34 lines (33 loc) · 870 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
34
services:
- type: web
name: greenstagram-backend
env: node
plan: starter
buildCommand: cd backend && npm install && npm run build
startCommand: cd backend && npm start
envVars:
- key: NODE_ENV
value: production
- key: PORT
value: 10000
- key: MONGODB_URI
sync: false
- key: JWT_SECRET
sync: false
- key: AZURE_CLIENT_ID
sync: false
- key: AZURE_CLIENT_SECRET
sync: false
- key: AZURE_TENANT_ID
sync: false
- key: REDIS_URL
sync: false
- type: static
name: greenstagram-frontend
buildCommand: cd frontend && npm install && npm run build
staticPublishPath: frontend/build
envVars:
- key: VITE_API_URL
value: https://greenstagram-backend.onrender.com
- key: VITE_APP_ENV
value: production