Describing Our App to Swarm
Understand how to transform your Docker Compose development setup into a production-ready stack file for Docker Swarm. Learn to configure services, remove development-only components, specify production images, and prepare your Rails app to be deployed and scaled effectively in a production environment.
We'll cover the following...
We'll cover the following...
You’re probably becoming pretty comfortable describing our app as a set of services defined in a Compose file. However, a docker-compose.yml file is development-focused: it lets us rebuild images easily and not get bogged down by unnecessary details such as deployment configuration.
Stack file
However, now when we come to deployment, we need something ...