-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
30 lines (29 loc) · 778 Bytes
/
render.yaml
File metadata and controls
30 lines (29 loc) · 778 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
services:
# Backend Service
- type: web
name: ai-visualizer-backend
env: node
plan: free
buildCommand: cd backend && npm install
startCommand: cd backend && npm start
envVars:
- key: NODE_ENV
value: production
- key: PORT
value: 10000
- key: FRONTEND_URL
value: https://ai-visualizer-frontend.onrender.com
- key: GEMINI_API_KEY
sync: false
- key: JWT_SECRET
generateValue: true
# Frontend Service
- type: web
name: ai-visualizer-frontend
env: static
plan: free
buildCommand: cd frontend && npm install && npm run build
staticPublishPath: frontend/build
envVars:
- key: REACT_APP_API_URL
value: https://ai-visualizer-backend.onrender.com