This is the code repository for A Developer's Essential Guide to Docker Compose, published by Packt.
Simplify the development and orchestration of multi-container applications
Software development is becoming increasingly complex due to the various software components used. Applications need to be packaged with software components to facilitate their operations, making it complicated to run them. With Docker Compose, a single command can set up your application and the needed dependencies. This book starts with an overview of Docker Compose and its usage and then shows how to create an application. You will also get to grips with the fundamentals of Docker volumes and network, along with Compose commands, their purpose, and use cases.
This book covers the following exciting features:
- Create multi-container applications using Docker Compose
- Use Docker Compose for daily development
- Connect microservices leveraging Docker network fundamentals
- Add monitoring to services leveraging Prometheus
- Deploy to production using Docker Compose
- Translate Compose files to Kubernetes deployments
If you feel this book is for you, get your copy today!
All of the code is organized into folders. For example, Chapter04.
The commands will look like the following:
$ docker compose up -d
$ docker compose logs
$ docker compose logs -f
$ docker compose logs -f --timestamps --tail="3" --no-color
$ docker compose top
Following is what you need for this book: This book is for software engineers, developer advocates, and DevOps engineers looking to set up multi-container Docker applications using Compose without the need to set up a Docker orchestration engine. It is also for team leads looking to increase the productivity of an organization’s software teams by streamlining the provisioning of complex development environments locally using Docker Compose. Readers are expected to understand containerization and must possess fundamental Docker knowledge to get started with this book.
With the following software and hardware list you can run all code files present in the book (Chapter 1-13).
Chapter | Software required | OS required |
---|---|---|
1-13 | Docker, Docker Compose, Visual Studio Code, Bash, AWS | Windows, Mac OS X, and Linux (Any) |
12 | Microsoft Azure | Windows, Mac OS X, and Linux (Any) |
13 | Minikube, Kubectl, Kompose | Windows, Mac OS X and Linux (Any) |
We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.
Emmanouil Gkatziouras He started his software engineering journey when he joined a computer engineering and informatics department in Patras, Greece. He then worked as a software engineer for various companies. In 2015, he joined Oseven where he started working with cloud providers such as AWS and Azure, and container orchestration tools such as ECS and Kubernetes. He has fulfilled many roles, most recently as a cloud architect for the platform team. He loves to give back to the developer community by contributing to open source projects such as InfluxDB, Spring Cloud GCP, and Alpakka and by blogging on various software topics. He is committed to continuous learning and is a holder of certifications such as CKA, CCDAK, PSM, CKAD, and PSO.
If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.