Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 822 Bytes

README.md

File metadata and controls

15 lines (9 loc) · 822 Bytes

docker-compose-laravel

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.

Usage

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