forked from trpc/examples-next-prisma-websockets-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
render.yaml
29 lines (26 loc) · 818 Bytes
/
render.yaml
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
# previewsEnabled: true
# previewsExpireAfterDays: 7 # automatically delete the environment after the specified number of days of inactivity
services:
- type: web
name: trpc-websockets
env: node
plan: free
# NODE_ENV is development here in order for pnpm to install dev deps
buildCommand: NODE_ENV=development pnpm install && pnpm build
startCommand: pnpm start
healthCheckPath: /api/trpc/healthcheck
# Preview Environment Initialization
# initialDeployHook: |
# pnpm run db-seed
envVars:
- key: NODE_ENV
value: production
- key: DATABASE_URL
fromDatabase:
name: trpc-websockets-db
property: connectionString
- fromGroup: trpc-websockets
databases:
- name: trpc-websockets-db
plan: starter
# plan: free