Run Magento 2 on Docker swarm

meetup logo

When you are already developing your Magento 2 application using Docker, it would nice to be able to deploy it using Docker.

We’ll start from our application in development and take the following steps to end up on production. We will build custom images with our application embedded and we might need some extra steps (like data migrations, …). On a production environment we also want to be able to see our logs quickly and easily, so we need a solution for that. And then we also have to deal with shared data, how can we make sure if you for example upload an image that it will be available for all running containers.

We’ll end up with a simple way to use docker from development all the way to production.