Combining Flask and HTMx. Should You Run Your Database in Docker?

September 22, 2022

Should You Run Your Database in Docker?

TL;DR: not really.
This post suggests that Docker is a good tool for running databases in a development environment and for small, non-critical projects running on a single server, as long as regular backups are in place.
However, the post advises against using Docker for production databases, as there are better options available, such as cloud-managed database services.
If self-hosting is necessary, the author recommends setting up dedicated machines rather than using Docker, as using Docker for production databases may require a lot of work and learning to ensure reliability.

Integrating Flask and HTMx into a single page app

This demo app shows how to combine Flask and HTMx to create a simple single page app.