Python samples

Note

Samples compatible with Docker Dev Environments require Docker Desktop version 4.10 or later.

Name Description Docker Dev Environment (if compatible)
NGINX / Flask / MongoDB A sample Python/Flask application with Nginx proxy and a Mongo database. Open in Docker Dev Environment
NGINX / Flask / MySQL A sample Python/Flask application with an Nginx proxy and a MySQL database. -
NGINX / WSGI / Flask A sample Nginx reverse proxy with a Flask backend using WSGI. -
Python / Flask / Redis A sample Python/Flask and a Redis database. Open in Docker Dev Environment
Flask A sample Flask application. Open in Docker Dev Environment
Django A sample Django application. Open in Docker Dev Environment
FastAPI A sample FastAPI application. Open in Docker Dev Environment
example-voting-app A sample Docker Compose app. -
Compose and Django This quick-start guide demonstrates how to use Docker Compose to set up and run a simple Django/PostgreSQL app. -

Looking for more samples?

Visit the following GitHub repositories for more Docker samples.

  • Awesome Compose: A curated repository containing over 30 Docker Compose samples. These samples offer a starting point for how to integrate different services using a Compose file.
  • Docker Samples: A collection of over 30 repositories that offer sample containerized demo applications, tutorials, and labs.