GitHub - abyesilyurt/fastapi-on-cloudflare-containers: Deploying a FastAPI app on Cloudflare Containers

· GitHub

1 min read Original article ↗

Deploying to Cloudflare

First, run:

Then, run:

This will deploy the worker and the container to Cloudflare if you are on a paid plan.

Notes

  • js/src/index.ts is the entry point for the worker. You can modify it to add your own routing logic. Currently, it will load balance requests across 3 containers.
  • The main app is in the app/ directory.

About

Deploying a FastAPI app on Cloudflare Containers

Resources

Readme

MIT license

Activity

Stars

14 stars

Watchers

0 watching

Forks

2 forks

Releases

Packages

Contributors

Languages