-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
29 lines (29 loc) · 827 Bytes
/
Copy pathrender.yaml
File metadata and controls
29 lines (29 loc) · 827 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 Blueprint for the QuickKart backend API.
# Deploy: Render Dashboard → New → Blueprint → connect this repo.
# The frontend deploys separately on Vercel (see DEPLOYMENT.md).
services:
- type: web
name: quickkart-api
runtime: node
rootDir: backend
plan: free
buildCommand: npm install
startCommand: npm start
healthCheckPath: /api/health
autoDeploy: true
envVars:
- key: NODE_ENV
value: production
- key: JWT_EXPIRES_IN
value: 7d
- key: ENABLE_CRON
value: "false"
# Secrets — set these in the Render dashboard (sync:false keeps them out of git):
- key: DATABASE_URL
sync: false
- key: JWT_SECRET
sync: false
- key: CLIENT_ORIGINS
sync: false
- key: REDIS_URL
sync: false