Skip to content
A docker-compose workflow for local Laravel development
Branch: master
Clone or download
Latest commit de790d8 May 6, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
nginx Initial commit May 5, 2019
src Initial commit May 5, 2019
.gitignore Initial commit May 5, 2019
Dockerfile Initial commit May 5, 2019 Updates README May 6, 2019
docker-compose.yml Initial commit May 5, 2019


A pretty simplified docker-compose workflow that sets up a LEMP network of containers for local Laravel development. You can view the full article that inspired this repo here.


To get started, make sure you have Docker installed on your system, and then clone this repository. Add your entire Laravel project to the src folder, then open a terminal and from this cloned respository's root run docker-compose build && docker-compose up -d.

Open up your browser of choice to http://localhost:8080 and you should see your Laravel app running as intended.

Containers created and their ports are as follows:

  • nginx - :8080
  • mysql - :3306
  • php - :9000
You can’t perform that action at this time.