In this example we are going to keep docker compose commands in Makefile and use
make command to interact with them.
All commands are listed below as follows. The
ENV variables are compulsory unless they are set on server level.
Builds all images.
Starts all containers. The
dev env will have application exposed to the host OS. In the case of
stag env, the application will be baked into the container so it won’t be exposed to the host OS.
Stops all containers.