Containerize Laravel with Apache, MySQL, and MongoDB using Docker Containers
We can containerize our applications using Docker to have a separate installation of the required packages with the application-specific versions independent of the underlying operating system. We can use Docker Containers to make our application portable so that we can simply move it to another system having docker. This tutorial provides all the steps to containerize a Laravel application using Apache Web Server and either MySQL or MongoDB or both as the database server.
How to SetUp 1> Clone this project 2> Create new folder name is database 3> select your laravel version and change requirement on your version in file (SRC->dockerfile) 4> download laravel as manually and past in src folder with .env and vendor folde also 5> run command sh "run.sh"
Reference by : https://devops.tutorials24x7.com/blog/containerize-laravel-with-apache-mysql-and-mongodb-using-docker-containers