In this guide, we’re going to show you how to Dockerize the Laravel project with PHP-FPM, MySQL database, and the Nginx web server using the Docker Compose on the Ubuntu Server 18.04. We’re going to create a new docker image for the Laravel Project, and then create the docker-compose.yml script that contains some services including, the App/Laravel itself, Nginx web server, and MySQL database.
via Planet MySQL
Dockerizing Laravel with Nginx MySQL and Docker Compose on Ubuntu 18.04 LTS