-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
29 lines (28 loc) · 903 Bytes
/
Copy pathrender.yaml
File metadata and controls
29 lines (28 loc) · 903 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
# render.yaml - example to deploy to Render (edit repo/branch and set secrets in dashboard)
services:
- type: web
name: interviewflow-backend
env: docker
region: oregon
repo: https://github.com/<your-username>/InterviewFlow
branch: main
dockerfilePath: backend/Dockerfile
autodeploy: true
envVars:
- key: NODE_ENV
value: production
- key: PORT
value: "4000"
# Sensitive values: set in Render dashboard instead of here:
# JWT_SECRET, DATABASE_URL, PISTON_URL, PISTON_KEY
staticSites:
- name: interviewflow-frontend
repo: https://github.com/<your-username>/InterviewFlow
branch: main
buildCommand: npm install && npm run build
publishPath: frontend/dist
envVars:
- key: VITE_API_BASE
value: "https://<backend-public-url>"
- key: VITE_SOCKET_URL
value: "wss://<backend-public-url>"