mirror of
https://github.com/vee1e/workorder-desk.git
synced 2026-09-01 09:50:13 +00:00
28 lines
862 B
YAML
28 lines
862 B
YAML
services:
|
|
- type: web
|
|
name: workorders-api
|
|
runtime: node
|
|
plan: free
|
|
buildCommand: NODE_ENV=development npm ci && npm run build -w @workorders/shared && npm run build -w backend
|
|
startCommand: node backend/dist/server.js
|
|
healthCheckPath: /ready
|
|
envVars:
|
|
- key: NODE_ENV
|
|
value: production
|
|
- key: TRUST_PROXY_HOPS
|
|
value: "2"
|
|
- key: CORS_ORIGIN
|
|
value: https://workorder.lverma.com
|
|
- key: APP_URL
|
|
value: https://workorder.lverma.com
|
|
# sync: false → values are entered in the Render dashboard at create time
|
|
- key: MONGODB_URI
|
|
sync: false
|
|
- key: JWT_SECRET
|
|
sync: false
|
|
- key: COOKIE_SECRET
|
|
sync: false
|
|
- key: RESEND_API_KEY
|
|
sync: false
|
|
- key: RESEND_FROM
|
|
value: Work Order Desk <no-reply@mail.lverma.com>
|