Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/postgresml/render-healthcheck
https://github.com/postgresml/render-healthcheck
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/postgresml/render-healthcheck
- Owner: postgresml
- Created: 2023-07-19T08:15:27.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-19T08:45:18.000Z (over 1 year ago)
- Last Synced: 2023-07-19T09:36:47.598Z (over 1 year ago)
- Language: Python
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Deploy FastAPI on Render
Use this repo as a template to deploy a Python [FastAPI](https://fastapi.tiangolo.com) service on Render.
See https://render.com/docs/deploy-fastapi or follow the steps below:
## Manual Steps
1. You may use this repository directly or [create your own repository from this template](https://github.com/render-examples/fastapi/generate) if you'd like to customize the code.
2. Create a new Web Service on Render.
3. Specify the URL to your new repository or this repository.
4. Render will automatically detect that you are deploying a Python service and use `pip` to download the dependencies.
5. Specify the following as the Start Command.```shell
uvicorn main:app --host 0.0.0.0 --port $PORT
```6. Click Create Web Service.
Or simply click:
[![Deploy to Render](https://render.com/images/deploy-to-render-button.svg)](https://render.com/deploy?repo=https://github.com/render-examples/fastapi)
## Thanks
Thanks to [Harish](https://harishgarg.com) for the [inspiration to create a FastAPI quickstart for Render](https://twitter.com/harishkgarg/status/1435084018677010434) and for some sample code!