-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
51 lines (50 loc) · 1.4 KB
/
render.yaml
File metadata and controls
51 lines (50 loc) · 1.4 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Render Blueprint - Backend Configuration
# https://render.com/docs/blueprint-spec
services:
- type: web
name: scribo-backend
runtime: node
region: oregon # Change to your preferred region
plan: free # Options: free, starter, standard, pro
rootDir: backend
buildCommand: npm ci
startCommand: npm start
healthCheckPath: /api/health
envVars:
- key: NODE_ENV
value: production
- key: PORT
value: 5000
- key: MONGODB_URI
sync: false # Set manually in Render dashboard
- key: JWT_SECRET
generateValue: true
- key: JWT_EXPIRE
value: 7d
- key: GOOGLE_CLIENT_ID
sync: false
- key: GOOGLE_CLIENT_SECRET
sync: false
- key: GOOGLE_CALLBACK_URL
sync: false
- key: CLOUDINARY_CLOUD_NAME
sync: false
- key: CLOUDINARY_API_KEY
sync: false
- key: CLOUDINARY_API_SECRET
sync: false
- key: MAILGUN_API_KEY
sync: false
- key: MAILGUN_DOMAIN
sync: false
- key: MAILGUN_FROM_EMAIL
sync: false
- key: MAILGUN_FROM_NAME
value: Scribo Notes
- key: FRONTEND_URL
sync: false # Your Vercel frontend URL
- key: CLIENT_URL
sync: false # Same as FRONTEND_URL
- key: SENTRY_DSN
sync: false # Optional: For error tracking
autoDeploy: true # Auto deploy on git push