Flask App with Nginx Proxy Container and Custom Health-Checker

Опубликовано: 03 Март 2026
на канале: Mark Bulmer
95
1

This video adds an nginx container to the swarm and also a storage for the db and also a custom health-checker. Ubuntu-based images , like the Nginx container and the Flask App, cannot be added to a swarm and so this is a way to make it act as a service.

If you'd like to see the structure of the app (minus the Nginx container and health-checkers), simply download the following script and run it in a fresh Ubuntu install (I may include my NGINX container- later, as well as the health-check, but for now you'll have a sense for how the setup works):