Awesome Docker Compose samples
Go to file
Milas Bowman b53e4542c9
flask-redis: dev envs support & misc improvements (#265)
(Most of this is almost identical to #263.)

* Docker Desktop Development Environments config
* Use cache volumes for pip
* Downgrade from Python 3.11 _alpha_ -> Python 3.10
* Use port `8000` to avoid conflicts with Airplay on
    macOS for default Flask port `5000`
* Use `SIGINT` to gracefully stop Flask
* Formatting fixes in `compose.yaml`

Signed-off-by: Milas Bowman <milas.bowman@docker.com>
2022-07-08 16:48:08 +02:00
.github Remove temporarily the 'java' codeql analysis (#189) 2021-12-09 12:16:47 +01:00
angular angular: add dev envs configuration 2022-07-01 13:50:58 -04:00
apache-php apache-php: add dev envs config 2022-07-05 11:41:11 -04:00
aspnet-mssql Adopt Compose v2 (#240) 2022-05-10 11:59:25 +02:00
django Fix security issues (#244) 2022-05-16 21:20:20 +02:00
elasticsearch-logstash-kibana Adopt Compose v2 (#240) 2022-05-10 11:59:25 +02:00
fastapi fastapi: add dev envs support 2022-07-05 11:59:35 -04:00
flask flask: dev envs support & misc improvements (#263) 2022-07-08 09:22:59 -04:00
flask-redis flask-redis: dev envs support & misc improvements (#265) 2022-07-08 16:48:08 +02:00
gitea-postgres Adopt Compose v2 (#240) 2022-05-10 11:59:25 +02:00
minecraft Adopt Compose v2 (#240) 2022-05-10 11:59:25 +02:00
nextcloud-postgres Adopt Compose v2 (#240) 2022-05-10 11:59:25 +02:00
nextcloud-redis-mariadb Adopt Compose v2 (#240) 2022-05-10 11:59:25 +02:00
nginx-aspnet-mysql Adopt Compose v2 (#240) 2022-05-10 11:59:25 +02:00
nginx-flask-mongo Adopt Compose v2 (#240) 2022-05-10 11:59:25 +02:00
nginx-flask-mysql Adopt Compose v2 (#240) 2022-05-10 11:59:25 +02:00
nginx-golang Adopt Compose v2 (#240) 2022-05-10 11:59:25 +02:00
nginx-golang-mysql Adopt Compose v2 (#240) 2022-05-10 11:59:25 +02:00
nginx-golang-postgres Adopt Compose v2 (#240) 2022-05-10 11:59:25 +02:00
nginx-nodejs-redis Adopt Compose v2 (#240) 2022-05-10 11:59:25 +02:00
nginx-wsgi-flask Adopt Compose v2 (#240) 2022-05-10 11:59:25 +02:00
pihole-cloudflared-DoH Adopt Compose v2 (#240) 2022-05-10 11:59:25 +02:00
plex Adopt Compose v2 (#240) 2022-05-10 11:59:25 +02:00
portainer Adopt Compose v2 (#240) 2022-05-10 11:59:25 +02:00
postgresql-pgadmin Adopt Compose v2 (#240) 2022-05-10 11:59:25 +02:00
prometheus-grafana Adopt Compose v2 (#240) 2022-05-10 11:59:25 +02:00
react-express-mongodb Fix security issues (#244) 2022-05-16 21:20:20 +02:00
react-express-mysql Fix security issues (#244) 2022-05-16 21:20:20 +02:00
react-java-mysql add configuration to use react-java-mysql sample with Docker Dev Environments feature 2022-07-05 14:48:18 +02:00
react-nginx Fix security issues (#244) 2022-05-16 21:20:20 +02:00
react-rust-postgres Fix security issues (#244) 2022-05-16 21:20:20 +02:00
sparkjava update java samples to use eclipse temurin instead of opendjdk (#245) 2022-05-16 22:19:01 +02:00
sparkjava-mysql update java samples to use eclipse temurin instead of opendjdk (#245) 2022-05-16 22:19:01 +02:00
spring-postgres update java samples to use eclipse temurin instead of opendjdk (#245) 2022-05-16 22:19:01 +02:00
traefik-golang fix: update traefik minor version to v2.6 (#243) 2022-05-16 21:23:58 +02:00
vuejs Fix security issues (#244) 2022-05-16 21:20:20 +02:00
wireguard Adopt Compose v2 (#240) 2022-05-10 11:59:25 +02:00
wordpress-mysql Adopt Compose v2 (#240) 2022-05-10 11:59:25 +02:00
.gitattributes repo init 2020-02-12 18:16:42 +01:00
awesome-compose.jpg repo init 2020-02-12 18:16:42 +01:00
CONTRIBUTING.md the 2020-07-27 22:14:01 -05:00
dev-envs.png angular: add dev envs configuration 2022-07-01 13:50:58 -04:00
LICENSE Update License to CC0 2020-03-26 09:44:12 +01:00
MAINTAINERS Compliance to awesome repository requirements 2020-03-27 11:38:54 +01:00
README.md Adopt Compose v2 (#240) 2022-05-10 11:59:25 +02:00

Awesome Compose Awesome

logo

A curated list of Docker Compose samples.

These samples provide a starting point for how to integrate different services using a Compose file and to manage their deployment with Docker Compose.

Note:

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.

Contents

Samples of Docker Compose applications with multiple integrated services

Single service samples

Basic setups for different platforms (not production ready - useful for personal use)

Getting started

These instructions will get you through the bootstrap phase of creating and deploying samples of containerized applications with Docker Compose.

Prerequisites

Running a sample

The root directory of each sample contains the compose.yaml which describes the configuration of service components. All samples can be run in a local environment by going into the root directory of each one and executing:

docker compose up -d

Check the README.md of each sample to get more details on the structure and what is the expected output. To stop and remove all containers of the sample application run:

docker compose down

Contribute

We welcome examples that help people understand how to use Docker Compose for common applications. Check the Contribution Guide for more details.