These samples provide a starting point for how to integrate different services using a Compose file and to manage their deployment with Docker Compose.
> The following samples are intended for use in local development environments such as project setups, tinkering with software stacks, etc. These samples must not be deployed in production environments.
- [Samples of Docker Compose applications with multiple integrated services](#samples-of-docker-compose-applications-with-multiple-integrated-services).
- [Single service samples](#single-service-samples).
- [Basic setups for different platforms (not production ready - useful for personal use)](#basic-setups-for-different-platforms-not-production-ready---useful-for-personal-use).
## Samples of Docker Compose applications with multiple integrated services
<ahref="https://docs.docker.com/desktop/dev-environments/"><imgsrc="icon_devenvs.svg"alt="Use with Docker Dev Environments"height="30"align="top"/></a> Icon indicates Sample is compatible with [Docker Dev Environments](https://docs.docker.com/desktop/dev-environments/) in Docker Desktop version 4.10 or later.
- [`Go / NGINX / MySQL`](nginx-golang-mysql) - Sample Go application
with an Nginx proxy and a MySQL database. <ahref="nginx-golang-mysql"><imgsrc="icon_devenvs.svg"alt="Use with Docker Dev Environments"height="30"align="top"/></a>
- [`Go / NGINX / PostgreSQL`](nginx-golang-postgres) - Sample Go
application with an Nginx proxy and a PostgreSQL database. <ahref="nginx-golang-postgres"><imgsrc="icon_devenvs.svg"alt="Use with Docker Dev Environments"height="30"align="top"/></a>
- [`Java Spark / MySQL`](sparkjava-mysql) - Sample Java application and
a MySQL database. <ahref="sparkjava-mysql"><imgsrc="icon_devenvs.svg"alt="Use with Docker Dev Environments"height="30"align="top"/></a>
- [`NGINX / ASP.NET / MySQL`](nginx-aspnet-mysql) - Sample Nginx reverse proxy with an C# backend using ASP.NET <ahref="nginx-aspnet-mysql"><imgsrc="icon_devenvs.svg"alt="Use with Docker Dev Environments"height="30"align="top"/></a>
application with Nginx proxy and a Mongo database. <ahref="nginx-flask-mongo"><imgsrc="icon_devenvs.svg"alt="Use with Docker Dev Environments"height="30"align="top"/></a>
- [`NGINX / Flask / MySQL`](nginx-flask-mysql) - Sample Python/Flask application with an Nginx proxy and a MySQL database.
- [`NGINX / Node.js / Redis`](nginx-nodejs-redis) - Sample Node.js application with Nginx proxy and a Redis database
- [`NGINX / Go`](nginx-golang) - Sample Nginx proxy with a Go backend. <ahref="nginx-golang"><imgsrc="icon_devenvs.svg"alt="Use with Docker Dev Environments"height="30"align="top"/></a>
- [`NGINX / WSGI / Flask`](nginx-wsgi-flask) - Sample Nginx reverse proxy with a Flask backend using WSGI.
- [`PostgreSQL / pgAdmin`](postgresql-pgadmin) - Sample setup for postgreSQL database with pgAdmin web interface
- [`Python / Flask / Redis`](flask-redis) - Sample Python/Flask and a Redis database <ahref="flask-redis"><imgsrc="icon_devenvs.svg"alt="Use with Docker Dev Environments"height="30"align="top"/></a>
- [`React / Spring / MySQL`](react-java-mysql) - Sample React
application with a Spring backend and a MySQL database. <ahref="react-java-mysql"><imgsrc="icon_devenvs.svg"alt="Use with Docker Dev Environments"height="30"align="top"/></a>
application with a Node.js backend and a MySQL database. <ahref="react-express-mysql"><imgsrc="icon_devenvs.svg"alt="Use with Docker Dev Environments"height="30"align="top"/></a>
application with a Node.js backend and a Mongo database. <ahref="react-express-mongodb"><imgsrc="icon_devenvs.svg"alt="Use with Docker Dev Environments"height="30"align="top"/></a>
application with a Rust backend and a Postgres database. <ahref="react-rust-postgres"><imgsrc="icon_devenvs.svg"alt="Use with Docker Dev Environments"height="30"align="top"/></a>
- [`React / Nginx`](react-nginx) - Sample React application with Nginx. <ahref="react-nginx"><imgsrc="icon_devenvs.svg"alt="Use with Docker Dev Environments"height="30"align="top"/></a>
with Spring framework and a Postgres database. <ahref="spring-postgres"><imgsrc="icon_devenvs.svg"alt="Use with Docker Dev Environments"height="30"align="top"/></a>
- [`WasmEdge / MySQL / Nginx`](wasmedge-mysql-nginx) - Sample WebAssembly-based microservice
with WasmEdge Runtime, a MySQL / MariaDB database, and an optional Nginx web server for hosting static web UI files. <ahref="wasmedge-mysql-nginx"><imgsrc="icon_devenvs.svg"alt="Compatible with Docker+wasm"height="30"align="top"/></a>
<ahref="https://docs.docker.com/desktop/dev-environments/"><imgsrc="icon_devenvs.svg"alt="Use with Docker Dev Environments"height="30"align="top"/></a> Icon indicates Sample is compatible with [Docker Dev Environments](https://docs.docker.com/desktop/dev-environments/) in Docker Desktop version 4.10 or later.
- [`Angular`](angular) <ahref="angular"><imgsrc="icon_devenvs.svg"alt="Use with Docker Dev Environments"height="30"align="top"/></a>
- [`Spark`](sparkjava) <ahref="sparkjava"><imgsrc="icon_devenvs.svg"alt="Use with Docker Dev Environments"height="30"align="top"/></a>
- [`VueJS`](vuejs) <ahref="vuejs"><imgsrc="icon_devenvs.svg"alt="Use with Docker Dev Environments"height="30"align="top"/></a>
- [`Flask`](flask) <ahref="flask"><imgsrc="icon_devenvs.svg"alt="Use with Docker Dev Environments"height="30"align="top"/></a>
- [`PHP`](apache-php) <ahref="apache-php"><imgsrc="icon_devenvs.svg"alt="Use with Docker Dev Environments"height="30"align="top"/></a>
- [`Traefik`](traefik-golang) <ahref="traefik-golang"><imgsrc="icon_devenvs.svg"alt="Use with Docker Dev Environments"height="30"align="top"/></a>
- [`Django`](django) <ahref="django"><imgsrc="icon_devenvs.svg"alt="Use with Docker Dev Environments"height="30"align="top"/></a>
- [`FastAPI`](fastapi) <ahref="fastapi#use-with-docker-development-environments"><imgsrc="icon_devenvs.svg"alt="Use with Docker Dev Environments"height="30"align="top"/></a>
## Basic setups for different platforms (not production ready - useful for personal use)
In addition to all the ready to run Compose samples listed above the folder [official-documentation-samples](official-documentation-samples/README.md) contains quickstart guides. Each of these step by step guides explain which files need to be created to build and run a Docker Compose application.