[Excerpt from Article]<p>This is a small project that packages a Flask app in Docker and deploys it using Docker Compose. It runs a server that returns `"crouton!"`, the current time, and a visitor count that persists across restarts.<p>* The codebase: <a href="https://github.com/rodlaf/crouton">https://github.com/rodlaf/crouton</a>
* You can try it here: <a href="https://crouton.rlafuente.com" rel="nofollow">https://crouton.rlafuente.com</a>
* The idea was originally inspired by <a href="https://crouton.net" rel="nofollow">https://crouton.net</a><p>The app itself is trivial. But what you get, by building and deploying it properly, is a full walkthrough of how web services actually make their way from a script on your laptop to something versioned, persistent, and runnable everywhere.<p>It touches on containerization, orchestration, logging, port forwarding, file persistence, and shipping artifacts to Docker Hub. All in about 30 lines of Python.