This project demonstrates the approach to control the startup process in docker-compose. Control docker-compose startup flow blog post
Start the docker-compose:
docker-compose up --build
To stop the docker-compose in interactive mode use Ctrl+C
in either case use following command:
docker-compose down