-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
render.yaml
34 lines (34 loc) · 1.12 KB
/
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
30
31
32
33
34
#### 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
runtime: node
name: airbroke
plan: free
## 👇 Specify the plan for the PR deployment:
# previewPlan: starter
## 👇 Preview Environment Initialization script:
# initialDeployHook: yarn db:seed
buildCommand: yarn install && yarn build
preDeployCommand: npx prisma migrate deploy
startCommand: yarn start
healthCheckPath: /api/hc
envVars:
- key: DATABASE_URL
fromDatabase:
name: airbroke-starter-db
property: connectionString
- key: DIRECT_URL
fromDatabase:
name: airbroke-starter-db
property: connectionString
- key: AUTH_SECRET
value: your_nextauth_secret_here
- key: AUTH_URL
value: https://$RENDER_EXTERNAL_HOSTNAME
databases:
- name: airbroke-starter-db
plan: free