-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update .env.dist with a random string for NEXTAUTH_SECRET to i…
…mprove security feat: add Render YAML configuration file to deploy airbroke app on Render platform with a free web service and a free database service
- Loading branch information
1 parent
9eb48ba
commit 14ccad6
Showing
2 changed files
with
31 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#### 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: airbroke | ||
env: node | ||
plan: free | ||
## 👇 Specify the plan for the PR deployment: | ||
# previewPlan: starter | ||
## 👇 Preview Environment Initialization script: | ||
# initialDeployHook: yarn db:seed | ||
buildCommand: yarn install && yarn build | ||
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 | ||
|
||
databases: | ||
- name: airbroke-starter-db | ||
plan: free |