/3musketeers

Test, build, and deploy your apps from anywhere, the same way!

Primary LanguageMakefileMIT LicenseMIT

The 3 Musketeers

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.

Guidelines

Read the guidelines

Prerequisites for the examples

  • Docker
  • Compose
  • Make
  • AWS credentials in ~/.aws or environment variables (only for deploying to AWS)

For Windows users, PowerShell is recommended and make can be installed with scoop.

Download this repository

# 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

Links

  • Tutorial on how .env works with Docker and Compose
  • My slides of my talk about the 3 Musketeers at Sydney Docker Meetup