

If you are familiar with Magento 2 and own your store then you might have heard of Varnish cache once in a while. Moving further, in this blog we will discuss integration of Varnish cache with Magento 2 on the architecture of Docker and of course we will be using docker-compose to setup this architecture as we did earlier.

We were focused on infrastructure performance rather than application optmisation. In our previous blogs, we have installed Magento 2 with default configurations. We had also discussed the volume mapping, ports allocation, containers linking etc techniques for docker-compose.yml file.Īs we are now familiar with docker and docker-compose, their working and their integration with applications (Magento 2 in our case), we will now take a further step ahead. Using this tool we had setup Magento 2 running with apache2 server and mysql-server on separate containers interlinked with each other. In our last blog, after being introduced to docker-compose, we had discussed the deployment of multi-container architecture in Docker.
