Laravel 5 with dockerized Gulp, PHP-FPM, MySQL and nginx
Objective
Setup Laravel 5 with dockerized Gulp, PHP-FPM, MySQL and nginx using docker orchestration tool, docker-compose.
This post presumes that
docker
&docker-compose
are already installed on your system.
1. Clone repository
2. Run services
3. Download Composer
4. Install Laravel 5 using Composer
5. Permissions
Laravel 5 requires vendor
and storage
and directories within them to have write permission by web server.
If you are running Docker using boot2docker, check this post to configure NFS with boot2docker and OS X in order to fix write permissions.
6. Hooray
Visit http://localhost to view the project.