-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
33 lines (33 loc) · 857 Bytes
/
Copy pathrender.yaml
File metadata and controls
33 lines (33 loc) · 857 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
services:
- type: web
name: ura-backend
runtime: node
rootDir: backend
buildCommand: npm ci --include=dev && npm run db:deploy && npm run build && npm prune --omit=dev
startCommand: npm run start
healthCheckPath: /health
envVars:
- key: NODE_ENV
value: production
- key: PORT
value: "10000"
- key: DATABASE_URL
sync: false
- key: DATABASE_SSL
value: "true"
- key: DATABASE_SSL_REJECT_UNAUTHORIZED
value: "false"
- key: DB_POOL_MAX
value: "20"
- key: DB_IDLE_TIMEOUT_MS
value: "30000"
- key: DB_CONNECTION_TIMEOUT_MS
value: "10000"
- key: JWT_SECRET
sync: false
- key: SESSION_SECRET
sync: false
- key: FRONTEND_URL
sync: false
- key: CORS_ORIGINS
sync: false