-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
36 lines (35 loc) · 959 Bytes
/
Copy pathrender.yaml
File metadata and controls
36 lines (35 loc) · 959 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
30
31
32
33
34
35
36
# Render Blueprint — RV Trax API Server
# https://render.com/docs/blueprint-spec
services:
- type: web
name: rv-trax-api
runtime: node
region: ohio
plan: free
nodeVersion: '22'
buildCommand: |
corepack enable &&
corepack prepare pnpm@9 --activate &&
NODE_ENV=development pnpm install --frozen-lockfile &&
pnpm --filter @rv-trax/shared build &&
pnpm --filter @rv-trax/db build &&
pnpm --filter @rv-trax/api build
startCommand: NODE_ENV=production node apps/api/dist/server.js
healthCheckPath: /health
envVars:
- key: API_HOST
value: 0.0.0.0
- key: API_PORT
value: 10000
- key: DATABASE_URL
sync: false
- key: REDIS_URL
sync: false
- key: JWT_SECRET
generateValue: true
- key: COOKIE_SECRET
generateValue: true
- key: CORS_ORIGINS
sync: false
- key: LOG_LEVEL
value: info