{"id":13401458,"url":"https://github.com/docker/awesome-compose","last_synced_at":"2025-10-05T17:31:38.347Z","repository":{"id":37246359,"uuid":"240215314","full_name":"docker/awesome-compose","owner":"docker","description":"Awesome Docker Compose samples","archived":false,"fork":false,"pushed_at":"2025-01-16T20:51:46.000Z","size":7885,"stargazers_count":36761,"open_issues_count":251,"forks_count":6923,"subscribers_count":453,"default_branch":"master","last_synced_at":"2025-01-19T18:11:24.578Z","etag":null,"topics":["awesome","awesome-list","docker-compose"],"latest_commit_sha":null,"homepage":"https://docs.docker.com/compose/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/docker.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-13T08:51:42.000Z","updated_at":"2025-01-19T18:00:10.000Z","dependencies_parsed_at":"2024-03-10T17:00:47.977Z","dependency_job_id":"a9e335f3-fab8-4eba-a3fe-5226181bc988","html_url":"https://github.com/docker/awesome-compose","commit_stats":{"total_commits":210,"total_committers":66,"mean_commits":"3.1818181818181817","dds":0.7333333333333334,"last_synced_commit":"18f59bdb09ecf520dd5758fbf90dec314baec545"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docker%2Fawesome-compose","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docker%2Fawesome-compose/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docker%2Fawesome-compose/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docker%2Fawesome-compose/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/docker","download_url":"https://codeload.github.com/docker/awesome-compose/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235424970,"owners_count":18988321,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["awesome","awesome-list","docker-compose"],"created_at":"2024-07-30T19:01:02.872Z","updated_at":"2025-10-05T17:31:32.345Z","avatar_url":"https://github.com/docker.png","language":"HTML","readme":"# Awesome Compose [![Awesome](https://awesome.re/badge.svg)](https://awesome.re)\n\n![logo](awesome-compose.jpg)\n\n\u003e A curated list of Docker Compose samples.\n\nThese samples provide a starting point for how to integrate different services using a Compose file and to manage their deployment with Docker Compose.\n\n\u003e **Note**\n\u003e 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.\n\n\u003c!--lint disable awesome-toc--\u003e\n## Contents\n\n- [Samples of Docker Compose applications with multiple integrated services](#samples-of-docker-compose-applications-with-multiple-integrated-services).\n- [Single service samples](#single-service-samples).\n- [Basic setups for different platforms (not production ready - useful for personal use)](#basic-setups-for-different-platforms-not-production-ready---useful-for-personal-use).\n\n## Samples of Docker Compose applications with multiple integrated services\n\n\u003ca href=\"https://docs.docker.com/desktop/wasm/\"\u003e\u003cimg src=\"icon_wasm.svg\" alt=\"Docker + wasm\" height=\"30\" align=\"top\"/\u003e\u003c/a\u003e Icon indicates Sample is compatible with [Docker+Wasm](https://docs.docker.com/desktop/wasm/).\n\n- [`ASP.NET / MS-SQL`](aspnet-mssql) - Sample ASP.NET core application\nwith MS SQL server database.\n- [`Elasticsearch / Logstash / Kibana`](elasticsearch-logstash-kibana) - Sample Elasticsearch, Logstash, and Kibana stack.\n- [`Go / NGINX / MySQL`](nginx-golang-mysql) - Sample Go application\nwith an Nginx proxy and a MySQL database.\n- [`Go / NGINX / PostgreSQL`](nginx-golang-postgres) - Sample Go\napplication with an Nginx proxy and a PostgreSQL database.\n- [`Java Spark / MySQL`](sparkjava-mysql) - Sample Java application and\na MySQL database.\n- [`NGINX / ASP.NET / MySQL`](nginx-aspnet-mysql) - Sample Nginx reverse proxy with an C# backend using ASP.NET.\n- [`NGINX / Flask / MongoDB`](nginx-flask-mongo) - Sample Python/Flask\napplication with Nginx proxy and a Mongo database.\n- [`NGINX / Flask / MySQL`](nginx-flask-mysql) - Sample Python/Flask application with an Nginx proxy and a MySQL database.\n- [`NGINX / Node.js / Redis`](nginx-nodejs-redis) - Sample Node.js application with Nginx proxy and a Redis database.\n- [`NGINX / Go`](nginx-golang) - Sample Nginx proxy with a Go backend.\n- [`NGINX / WSGI / Flask`](nginx-wsgi-flask) - Sample Nginx reverse proxy with a Flask backend using WSGI.\n- [`PostgreSQL / pgAdmin`](postgresql-pgadmin) - Sample setup for postgreSQL database with pgAdmin web interface.\n- [`Python / Flask / Redis`](flask-redis) - Sample Python/Flask and a Redis database.\n- [`React / Spring / MySQL`](react-java-mysql) - Sample React\napplication with a Spring backend and a MySQL database.\n- [`React / Express / MySQL`](react-express-mysql) - Sample React\napplication with a Node.js backend and a MySQL database.\n- [`React / Express / MongoDB`](react-express-mongodb) - Sample React\napplication with a Node.js backend and a Mongo database.\n- [`React / Rust / PostgreSQL`](react-rust-postgres) - Sample React\napplication with a Rust backend and a Postgres database.\n- [`React / Nginx`](react-nginx) - Sample React application with Nginx.\n- [`Spring / PostgreSQL`](spring-postgres) - Sample Java application\nwith Spring framework and a Postgres database.\n- [`WasmEdge / MySQL / Nginx`](wasmedge-mysql-nginx) - Sample Wasm-based web application with a static HTML frontend, using a MySQL (MariaDB) database. The frontend connects to a Wasm microservice written in Rust, that runs using the WasmEdge runtime.\u0026nbsp;\u003ca href=\"wasmedge-mysql-nginx\"\u003e\u003cimg src=\"icon_wasm.svg\" alt=\"Compatible with Docker+wasm\" height=\"30\" align=\"top\"/\u003e\u003c/a\u003e\n- [`WasmEdge / Kafka / MySQL`](wasmedge-kafka-mysql) - Sample Wasm-based microservice that subscribes to a Kafka (Redpanda) queue topic, and transforms and saves any incoming message into a MySQL (MariaDB) database.\u0026nbsp;\u003ca href=\"wasmedge-kafka-mysql\"\u003e\u003cimg src=\"icon_wasm.svg\" alt=\"Compatible with Docker+wasm\" height=\"30\" align=\"top\"/\u003e\u003c/a\u003e\n\n## Single service samples\n\n- [`Angular`](angular)\n- [`Spark`](sparkjava)\n- [`VueJS`](vuejs)\n- [`Flask`](flask)\n- [`PHP`](apache-php)\n- [`Traefik`](traefik-golang)\n- [`Django`](django)\n- [`Minecraft server`](https://github.com/docker/awesome-compose/tree/master/minecraft)\n- [`Plex`](https://github.com/docker/awesome-compose/tree/master/plex)\n- [`Portainer`](https://github.com/docker/awesome-compose/tree/master/portainer)\n- [`Wireguard`](https://github.com/docker/awesome-compose/tree/master/wireguard)\n- [`FastAPI`](fastapi)\n\n## Basic setups for different platforms (not production ready - useful for personal use)\n\n- [`Gitea / PostgreSQL`](gitea-postgres)\n- [`Nextcloud / PostgreSQL`](nextcloud-postgres)\n- [`Nextcloud / Redis / MariaDB`](nextcloud-redis-mariadb)\n- [`Pi-hole / cloudflared`](pihole-cloudflared-DoH) - Sample Pi-hole setup with use of DoH cloudflared service\n- [`Prometheus / Grafana`](prometheus-grafana)\n- [`Wordpress / MySQL`](wordpress-mysql)\n\n\u003c!--lint disable awesome-toc--\u003e\n\n## Getting started\n\nThese instructions will get you through the bootstrap phase of creating and\ndeploying samples of containerized applications with Docker Compose.\n\n### Prerequisites\n\n- Make sure that you have Docker and Docker Compose installed\n  - Windows or macOS:\n    [Install Docker Desktop](https://www.docker.com/get-started)\n  - Linux: [Install Docker](https://www.docker.com/get-started) and then\n    [Docker Compose](https://github.com/docker/compose)\n- Download some or all of the samples from this repository.\n\n### Running a sample\n\nThe root directory of each sample contains the `compose.yaml` which\ndescribes the configuration of service components. All samples can be run in\na local environment by going into the root directory of each one and executing:\n\n```console\ndocker compose up -d\n```\n\nCheck the `README.md` of each sample to get more details on the structure and\nwhat is the expected output.\nTo stop and remove all containers of the sample application run:\n\n```console\ndocker compose down\n```\n\n### Quickstart guides\n\nIn 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.\n\n\u003c!--lint disable awesome-toc--\u003e\n## Contribute\n\nWe welcome examples that help people understand how to use Docker Compose for\ncommon applications. Check the [Contribution Guide](CONTRIBUTING.md) for more details. \n","funding_links":[],"categories":["HTML","Awesome Lists","HarmonyOS","Related","infra","Verified to work in Release","By Language","Back-End Development","Getting started","CLI","Docker","Docker Compose","Uncategorized","其他__大数据","awesome-list","最佳实践与列表","Related Awesome Lists","语言资源库","Don't forget to give a :star: to make the project popular","References","资源","☁️ Cloud Platforms \u0026 Infrastructure","DevOps","DevOps \u0026 SRE","cli"],"sub_categories":["Monitoring Services","Windows Manager","Web","Prerequisites","Uncategorized","网络服务_其他","镜像仓库 (Registries)","awesome-library","Articles and Sample Code","Skills used by the AI agent","真棒","Resources","collection"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocker%2Fawesome-compose","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdocker%2Fawesome-compose","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocker%2Fawesome-compose/lists"}