🌐
Docker Docs
docs.docker.com › manuals › docker compose › docker compose quickstart
Docker Compose Quickstart | Docker Docs
Compose merges both files at startup. The web service can still reference redis by name because all included services share the same default network. This is a simplified example, but it demonstrates the basic principle of include and how it ...
🌐
GitHub
github.com › docker › awesome-compose
GitHub - docker/awesome-compose: Awesome Docker Compose samples · GitHub
A curated list of Docker Compose samples.
Starred by 45K users
Forked by 8.1K users
Languages   HTML 35.6% | Dockerfile 16.0% | Rust 9.4% | TypeScript 9.2% | Java 6.1% | Python 5.9%
Discussions

Awesome Docker Compose Examples
Nice! Next to the tip of using secrets and a .env file, I can recommend using anchors to avoid having to repeat the same things over and over again. Like the restart option, possibly the PUID and GUID for the LSIO containers etc. More info (not my site but explains it well) here: https://nickjanetakis.com/blog/docker-tip-82-using-yaml-anchors-and-x-properties-in-docker-compose More on reddit.com
🌐 r/selfhosted
70
478
February 25, 2023
Up-to-date examples of a docker-compose.yml? - Stack Overflow
I installed the docker engine by exactly following the instructions (using the repository) on the docker website (I'm on Debian 11) without skipping any steps. I can definitely run the docker hello... More on stackoverflow.com
🌐 stackoverflow.com
Awesome Docker Compose Examples
If anyone is looking for ready to go web app examples aimed at both development and production with Docker Compose, I maintain: · The examples use a combination of services for each tech stack such as web + worker + postgres + redis + esbuild + tailwind. The Rails example is set up for Hotwire ... More on news.ycombinator.com
🌐 news.ycombinator.com
82
375
March 3, 2023
Docker compose example

You should have a wait start shell script instead of depending on network for the boot order.

More on reddit.com
🌐 r/docker
5
12
September 21, 2017
🌐
KDnuggets
kdnuggets.com › top-7-docker-compose-templates-every-developer-should-use
Top 7 Docker Compose Templates Every Developer Should Use - KDnuggets
1 week ago - The postgresql-pgadmin example in Docker’s awesome-compose repository is presented by Docker as a sample setup for a PostgreSQL database with the pgAdmin web interface, making it a practical starting point for managing schemas, running queries, and inspecting data in a more visual local environment.
🌐
Reddit
reddit.com › r/selfhosted › awesome docker compose examples
r/selfhosted on Reddit: Awesome Docker Compose Examples
February 25, 2023 -

Hi r/selfhosted,

since my last post I've cleaned my repository on GitHub with various Docker Compose examples. I've added a clean readme, issue templates and also short descriptions for each currently available compose project (aligned to the popular awesome-selfhosted repo).

I'll update the repository regularly if I come across bugs or something note-worthy. For example, if a cool project does not yet provide a docker-compose.yml or if the setup is a bit more complicated, combining various docker images with required config files etc. (like traefik or a grafana monitoring stack combining multiple images like promtail, influxdb, telegraf and so on).

Feel free to check it out if you haven't yet:

https://github.com/Haxxnet/Compose-Examples

If you have any missing compose examples that are not easily publicly available or already documented well enough by the project maintainer, feel free to issue PRs or open an issue with a request for a missing compose example. Happy to help out and extend the examples.

Cheers!

🌐
Docker Docs
docs.docker.com › manuals › docker compose
Docker Compose | Docker Docs
Learn how to use Docker Compose to define and run multi-container applications with this detailed introduction to the tool.
🌐
Stack Overflow
stackoverflow.com › questions › 78277458 › up-to-date-examples-of-a-docker-compose-yml
Up-to-date examples of a docker-compose.yml? - Stack Overflow
The Compose documentation still describes the version 2 and version 3 file formats as "legacy" formats, but you can use either of these formats unmodified with the modern plugin-based Compose. The deploy: option in particular is part of the version 3 format. However, if you're not using Docker Swarm, it will be ignored.
🌐
Hacker News
news.ycombinator.com › item
Awesome Docker Compose Examples | Hacker News
March 3, 2023 - If anyone is looking for ready to go web app examples aimed at both development and production with Docker Compose, I maintain: · The examples use a combination of services for each tech stack such as web + worker + postgres + redis + esbuild + tailwind. The Rails example is set up for Hotwire ...
Find elsewhere
🌐
Docker Hub
hub.docker.com › r › docker › compose
docker/compose - Docker Image
Compose is a tool for defining and running multi-container Docker applications. With Compose, you use a Compose file to configure your application's services. Then, using a single command, you create and start all the services from your configuration.
🌐
Docker
docs.docker.com › get started › docker workshop › use docker compose
Use Docker Compose | Docker Docs
The service name is displayed at ... you can add the service name to the end of the logs command (for example, docker compose logs -f app)....
🌐
n8n
docs.n8n.io › hosting › installation › server-setups › docker-compose
Docker Compose | n8n Docs
The Docker Compose file above configures two containers: one for n8n, and one to run traefik, an application proxy to manage TLS/SSL certificates and handle routing. It also creates and mounts two Docker Volumes and mounts the local-files directory you created earlier: ... You can now reach ...
🌐
authentik
docs.goauthentik.io › installation and configuration › docker compose installation
Docker Compose installation | authentik
View our video about installing authentik on Docker. To download the latest compose.yml open your terminal, navigate to the directory of your choice, and then run the following command:
🌐
GeeksforGeeks
geeksforgeeks.org › devops › docker-compose
Docker Compose - GeeksforGeeks
3 weeks ago - Starts all services defined in docker-compose.yml. Creates containers, networks, and volumes if missing. Add -d to run in background. Example: docker-compose up -d
🌐
PhotoPrism
docs.photoprism.app › getting-started › docker-compose
PhotoPrism - Docker Compose
Before you run this, make sure you are in the directory where you want to install PhotoPrism and that Docker Desktop is installed and started on your PC. Download our compose.yaml example for macOS (right click and Save Link As...) to a folder of your choice, and change the configuration as needed:
🌐
Immich
docs.immich.app › docker compose [recommended]
Docker Compose [Recommended] | Immich
From the directory you created ... docker-compose.yml and .env files), run the following command to start Immich as a background service: ... If you get an error such as unknown shorthand flag: 'd' in -d or open <location of your .env file>: permission denied, you are probably running the wrong Docker version. (This happens, for example, with the ...
🌐
Docker
docker.com
Docker: Accelerated Container Application Development
Run agents like you run apps. Spin up your full agentic stack with `docker compose up`. Deploy anywhere: locally, across clouds, or on Docker Cloud.
🌐
freeCodeCamp
freecodecamp.org › news › what-is-docker-compose-how-to-use-it
What is Docker Compose? How to Use it with an Example
April 7, 2023 - To overcome this, Docker introduced a concept called Multi Containers (Docker Compose). Before learning about Docker Compose, let's quickly learn how to start a database host in Docker. In the example part of this tutorial, we'll spin up a NodeJS container and MongoDB container together.
🌐
Geekfleet
geekfleet.dev › home › blog › docker compose tutorial: complete guide with real-world examples (2026)
Docker Compose Tutorial: Complete Guide with Real-World Examples (2026) | GeekFleet.dev
1 month ago - When you run docker compose up, Compose creates a single bridge network for your project. Every service joins this network and can reach other services by their service name. services: api: build: . # Can reach the database at hostname "db" ...
🌐
Medium
medium.com › dev-sec-ops › docker-101-docker-compose-db96ae884cda
Docker 101: Docker Compose
February 2, 2020 - Docker compose have three different versions, the above image of docker-compose.yml files are just a way to represent the changes that have taken place in all the versions and compare them. ... It can’t run docker images in a sequence as it just runs everything simultaneously and hence if one docker image depends on the other for certain things the whole thing crashes.
🌐
Visual Studio Code
code.visualstudio.com › docs › containers › docker-compose
Use Docker Compose
November 3, 2021 - Docker Compose provides a way to orchestrate multiple containers that work together. Examples include a service that processes requests and a front-end web site, or a service that uses a supporting function such as a Redis cache.
🌐
Development Containers
containers.dev › guide › dockerfile
Using Images, Dockerfiles, and Docker Compose
First, add a file named Dockerfile next to your devcontainer.json. For example: