8000 docs: add new render deployment examples & steps by connectshark Β· Pull Request #811 Β· nitrojs/nitro Β· GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

docs: add new render deployment examples & steps #811

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 9, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions docs/content/2.deploy/providers/render.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,24 @@ Nitro supports deploying on [Render](https://render.com/) with minimal configura

1. Click 'Create Web Service'.

## Infrastructure as Code (IaC)

1. Create a file called `render.yaml` with following content at the root of your repository.
> This file followed by [Infrastructure as Code](https://render.com/docs/infrastructure-as-code) on Render

```
services:
- type: web
name: <PROJECTNAME>
env: node
branch: main
startCommand: node .output/server/index.mjs
buildCommand: npm install && npm run build
envVars:
- key: NITRO_PRESET
value: render-com
```
2. [Create a new Blueprint Instance](https://dashboard.render.com/select-repo?type=blueprint) and select the repository containing your `render.yaml` file.


You should be good to go!
0