Skip to content

Finishing touches

Deploying to production

Now that we have everything, the last step is to make our app ready for production.

In 2023, wherever you deploy, production usually means one or more docker image, and either a docker-compose, a Helm Chart or some other packaging.

I won't go into details here, but have a look at fastapi-notebook-runner for an example of:

The full app uses two Docker images even though it needs 3 processes:

  1. the app Docker image, which can launch either celery or fastapi depending on the command argument, and
  2. the official redis image.

Again, have a look at fastapi-notebook-runner for more details.

Tips

One more thing

I really enjoyed putting this site together. If you found it useful, please leave a ⭐ on the GitHub repo!