Webapp + Nginx and SSL in Docker Compose

How to build a very simple web app using Python and Flask, configure Nginx to offload HTTPS, and wire them together with Docker Compose.

It is a simple setup that can be easily adapted to other contexts. I use this concept to recreate locally a production-like environment without all the complications of K8s.

Full story on medium

Photo by Christina @ wocintechchat.com on Unsplash