forked from trpc/examples-next-prisma-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
render.yaml
27 lines (26 loc) · 862 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
#### Render Blueprint specification: https://dashboard.render.com/blueprints ####
## 👇 Preview environments: https://render.com/docs/preview-environments ###
# previewsEnabled: true
## 👇 Automatically nuke the environment after X days of inactivity to reduce billing:
# previewsExpireAfterDays: 2
services:
- type: web
name: trpc-starter-app
env: node
plan: free
## 👇 Specify the plan for the PR deployment:
# previewPlan: starter
## 👇 Preview Environment Initialization script:
# initialDeployHook: yarn db-seed
buildCommand: yarn --prod=false &&
yarn build
startCommand: yarn start
healthCheckPath: /api/trpc/healthz
envVars:
- key: DATABASE_URL
fromDatabase:
name: trpc-starter-db
property: connectionString
databases:
- name: trpc-starter-db
plan: free