7d518e11da
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com> |
5 years ago | |
---|---|---|
angular | 5 years ago | |
aspnet-mssql | 5 years ago | |
gitea-postgres | 5 years ago | |
nextcloud-postgres | 5 years ago | |
nextcloud-redis-mariadb | 5 years ago | |
nginx-flask-mongo | 5 years ago | |
nginx-flask-mysql | 5 years ago | |
nginx-golang | 5 years ago | |
nginx-golang-mysql | 5 years ago | |
nginx-golang-postgres | 5 years ago | |
prometheus-grafana | 5 years ago | |
react-express-mysql | 5 years ago | |
react-java-mysql | 5 years ago | |
react-rust-postgres | 5 years ago | |
sparkjava | 5 years ago | |
sparkjava-mysql | 5 years ago | |
spring-postgres | 5 years ago | |
vuejs | 5 years ago | |
wordpress-mysql | 5 years ago | |
.gitattributes | ||
LICENSE | 5 years ago | |
README.md | 5 years ago | |
awesome-compose.jpg |
README.md
Awesome Compose
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.
Getting started
These instructions will get you through the bootstrap phase of creating and deploying samples of containerized applications with Docker Compose.
Prerequisites
- Make sure that you have Docker and Docker Compose installed
- Windows or macOS: Install Docker Desktop
- Linux: Install Docker and then Docker Compose
- Download some or all of the samples in the
samples
directory
Running a sample
The root directory of each sample contains the docker-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 the all containers of the sample application run:
docker-compose down
Contents
Samples of Docker Compose applications with multiple integrated services:
ASP.NET / MS-SQL
-- sample ASP.NET core application with MS SQL server databaseGo / NGINX / MySQL
-- sample Go application with an Nginx proxy and a MySQL databaseGo / NGINX / PostgreSQL
-- sample Go application with an Nginx proxy and a PostgreSQL databaseJava Spark / MySQL
-- sample Java application and a MySQL databaseNGINX / Flask / MongoDB
-- sample Python/Flask application with Nginx proxy and a Mongo databaseNGINX / Flask / MySQL
-- sample Python/Flask application with an Nginx proxy and a MySQL databaseNGINX / Go
-- sample Nginx proxy with a Go backendReact / Spring / MySQL
-- sample React application with a Spring backend and a MySQL databaseReact / Express / MySQL
-- sample React application with a NodeJS backend and a MySQL databaseReact / Rust / PostgreSQL
-- sample React application with a Rust backend and a Postgres databaseSpring / PostgreSQL
-- sample Java application with Spring framework and a Postgres database
Single service samples:
Basic setups for different plaforms (not production ready - useful for personal use)
Gitea / PostgreSQL
Nextcloud / PostgreSQL
Nextcloud / Redis/ MariaDB
Wordpress / MySQL
Prometheus / Grafana
Contribute
We welcome examples that help people understand how to use Docker Compose for common applications.