The 3 Musketeers is a pattern for developing software in a repeatable and consistent manner. It leverages Make as an orchestration tool to test, build, run, and deploy applications using Docker and Docker Compose. The Make and Docker/Compose commands for each application are maintained as part of the application’s source code and are invoked in the same way whether run locally or on a CI/CD server.
Read More on Medium.
Read the guidelines
For Windows users, PowerShell is recommended and make can be installed with scoop.
# using Docker
$ docker run --rm -v ${PWD}:/git -w /git alpine sh -c "apk --update add git openssh && git clone https://github.com/flemay/3musketeers.git"
# using Git
git clone https://github.com/flemay/3musketeers.git
- Tutorial on how
.env
works with Docker and Compose - My slides of my talk about the 3 Musketeers at Sydney Docker Meetup