-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrender.yaml
More file actions
35 lines (35 loc) · 1.02 KB
/
render.yaml
File metadata and controls
35 lines (35 loc) · 1.02 KB
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
35
services:
- type: web
name: skillsocket-backend
env: node
region: oregon
plan: free
rootDir: lib/backend
buildCommand: npm ci --production
startCommand: npm start
healthCheckPath: /ping
autoDeploy: true
envVars:
- key: NODE_ENV
value: production
- key: PORT
value: 10000
# Add these manually in Render dashboard - DO NOT commit real values
- key: MONGODB_URI
sync: false # Set this in Render dashboard manually
- key: JWT_SECRET
sync: false # Set this in Render dashboard manually
# Optional Cloudinary vars - set in Render dashboard if using
- key: CLOUDINARY_CLOUD_NAME
sync: false
- key: CLOUDINARY_API_KEY
sync: false
- key: CLOUDINARY_API_SECRET
sync: false
# Optional Firebase vars - set in Render dashboard if using
- key: FIREBASE_PROJECT_ID
sync: false
- key: FIREBASE_CLIENT_EMAIL
sync: false
- key: FIREBASE_PRIVATE_KEY
sync: false