Docker Compose FTW!
Orchestrate your containers with drupal-compose.
Sometimes setting up environment can take a while even if we're using Docker. Docker has nice tool which helps you manage your multi-container application - docker-compose. docker-compose is a small command-line tool which reads configuration stored in YAML file (docker-compose.yml) and builds your application based on it.
Examples are written using compose version 2. Version 2 files are supported by Compose 1.6.0+ and require a Docker Engine of version 1.10.0+. Get most recent version of Docker Engine and Docker Compose from docker.com
In this chapter you'll find a few examples how to start orchestrate your multi-container app with docker-compose.
- Simple - MariaDB + php:apache
- Data containers - Data Volume Containers
- Drush - run drush container on demand
- Networks - link containers with networks