Summary
This chapter has done a lot of work in moving our Docker environments from manually starting single-image services to a more production-ready and complete environment with Docker Swarm. We started this chapter with an in-depth discussion of Docker Swarm and how you can manage your services and nodes from the command line, providing a list of commands and their use, and later implementing them as part of a new environment running a test Django web application.
We then expanded this application further with an NGINX proxy and utilized Swarm functionality to store configuration and secrets data so they no longer need to be included as part of our Docker image and can instead be included in the Swarm we are deploying. We then showed you how to manage your swarm using your web browser with Swarmpit, providing a rundown of the work we previously did on the command line and making a lot of these changes from a web browser. Swarm is not the only way you can orchestrate your environments...