In this article, we are going to use Docker Compose to run our Laravel application using Nginx, PHP, and MySQL. In the end, we will get three separate service containers.
If you are developing a small application that only dependent on MySQL, Apache or Nginx then MAMP is fine to get started. But what if our application dependents on Redis, Mailhog, Supervisor, Beanstalk, etc? In that case, we have 2 options Vagrant and Docker. I personally prefer Docker and of cause, this article is about setting up the Laravel with Docker.
This post will cover multiple topics related to Node.js, MongoDB and Docker. We will learn about the setup of Node.js and MongoDB with Docker through simple todo app.