|
1 | 1 | #docker-compose-laravel
|
2 |
| -A docker-compose workflow for local Laravel development |
| 2 | +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](https://medium.com/@aschmelyun). |
| 3 | + |
| 4 | + |
| 5 | +##Usage |
| 6 | + |
| 7 | +To get started, make sure you have[Docker installed](https://docs.docker.com/docker-for-mac/install/) 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`. |
| 8 | + |
| 9 | +Open up your browser of choice to[http://localhost:8080](http://localhost:8080) and you should see your Laravel app running as intended. |
| 10 | + |
| 11 | +Containers created and their ports are as follows: |
| 12 | + |
| 13 | +-**nginx** -`:8080` |
| 14 | +-**mysql** -`:3306` |
| 15 | +-**php** -`:9000` |