Docker Compose is an essential tool for managing multi-container Docker applications, making it easy to spawn up containerized projects quickly and efficiently. In the world of software development, time is of the essence though. With tight deadlines and fast-paced environments, anything that can save time and simplify processes is highly valuable. Docker Compose provides just that, allowing developers to define their containers as code in a single file and deploy them with a single command.
However, there is one challenge that many people and selfhosting enthusiasts face when using or starting with Docker - converting existing Docker run commands into a properly working
docker-compose.yml file with all required environment variables and volumes for persisted data storage. This process can be time-consuming and error-prone, especially for those who are new to Docker and when developers do not provide an example Docker Compose YAML file for their selfhosted project.
That's why I'm excited to share with you my public GitHub repository that holds many working and tested Docker Compose YAML files for more than 50 infamous self-hosted projects. Although some of them do not run anymore in my infrastructure, it may help some people to get started. Apologies for any deprecated compose files or bugs.
Here some of my favourites: