-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
47 lines (46 loc) · 1.15 KB
/
Copy pathrender.yaml
File metadata and controls
47 lines (46 loc) · 1.15 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
databases:
- name: diffusion-node-db
databaseName: diffusion_node
user: diffusion_node
plan: free
region: oregon
postgresMajorVersion: "17"
services:
- type: web
name: diffusion-node-api
runtime: node
plan: free
region: oregon
branch: main
buildCommand: HUSKY=0 npm ci --include=dev && npm run prisma:generate && npx prisma migrate deploy && npm run build
startCommand: npm run start
healthCheckPath: /health
autoDeployTrigger: commit
buildFilter:
paths:
- src/**
- prisma/**
- package.json
- package-lock.json
- tsconfig.json
- prisma.config.ts
- render.yaml
envVars:
- key: NODE_ENV
value: production
- key: NODE_VERSION
value: 24.14.0
- key: DATABASE_URL
fromDatabase:
name: diffusion-node-db
property: connectionString
- key: JWT_SECRET
generateValue: true
- key: JWT_REFRESH_SECRET
generateValue: true
- key: CORS_ORIGIN
sync: false
- key: RATE_LIMIT_MAX
value: "100"
- key: RATE_LIMIT_WINDOW_MS
value: "900000"