Orchestrating with Docker Compose
Launching multiple containers manually can be a hassle, especially when the infrastructure goes increasingly complex. Dependencies, shared variables, and common networking can be easily handled with the orchestration tool named Docker Compose. In a simply YAML file, we can describe what services are needed to run our application (proxy, application, databases, and so on). In this section, we'll show how to create a simple LAMP docker-compose file, then we'll show how we can iterate from that to build some staging and production specific changes.
To step through this recipe, you will need the following:
- A working Docker installation
- A working Docker Compose installation
How to do it…
To orchestrate multiple ...