forked from igeligel/workplacify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrender.yaml
26 lines (25 loc) · 866 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
#### 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: workplacify-app
env: node
plan: starter
## 👇 Specify the plan for the PR deployment:
# previewPlan: starter
## 👇 Preview Environment Initialization script:
# initialDeployHook: npm run db-seed
buildCommand: npm install && npm run build
startCommand: npm run start
healthCheckPath: /api/trpc/healthcheck
envVars:
- key: DATABASE_URL
fromDatabase:
name: workplacify-db
property: connectionString
databases:
- name: workplacify-db
plan: starter