vcarreira / docker-laravel

A docker Compose file for Laravel development
36 stars 12 forks source link

Laravel docker container

This is a Docker multi-container for the Laravel PHP Framework. The Compose file provides the following services:

The following one-off containers are provided for the common Laravel tasks:

Setup

To simplify the process of dockerizing a Laravel webapp you can use the yeoman docker-laravel generator based on this repo. The Git repository has detailed instructions on how to run the generator and a series of 5 videos that show each container working.

Important notes:

Size

To provide consistency all images (except the official ones) are based on debian:jessie. All PHP related containers are based on the same PHP 7 container. The rational behind this is to guarantee that the development and test environment are the same as the one used for the Nginx container.

Size of each image:

vcarreira/nginx-php7-fpm   599 MB
vcarreira/redis            183 MB

Related images

Credits

Must of this work is based on:


:ok_hand: Happy Coding.

If you have any feedback or questions, feel free to contact me on Twitter with @vcarreira or email with vitor.carreira@gmail.com.