2017 © Pedro Peláez
 

library laravel-docker

Docker Containers for simple Laravel development.

image

steveazz/laravel-docker

Docker Containers for simple Laravel development.

  • Thursday, October 29, 2015
  • by SteveAzz
  • Repository
  • 1 Watchers
  • 10 Stars
  • 26 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 2 Versions
  • 4 % Grown

The README.md

Docker containers of Laravel development.

Docker Containers for simple Laravel development., (*1)

Prerequisites

This package only works for Linux users right now which can run docker natively.

Some software you need installed for this to work., (*2)

  1. Docker engine, installation documentation can be found here
  2. Docker compose is needed to connect all of the containers together, documentation on installation can be found here
  3. Having a fresh install of Laravel 5.1

Installation

In the root of your Laravel installation, (*3)

$ composer require steveazz/laravel-docker
$ ./vendor/bin/laravel-docker make
$ sudo docker-compose up

If you check your directory where laravel is installed you will see a new file called., (*4)

    |-- docker-config
        |-- vhost.conf          # Config file for nginx
        |-- php-fpm.conf        # Config file for php-fpm
    |-- docker-compose.yml      # yml file for docker-compose

Next up open your favorite browser and go on 127.0.0.1:8080, (*5)

browser window, (*6)

You should see the default installation Laravel welcome page., (*7)

Troubleshooting

  • If you get a '500' or '502 bad gateway' response in your browser, run the following commands., (*8)

    $ sudo chown -R www-data storage
    $ sudo chmod -R 0770 storage
    
    • If you get 'failed to open stream: Permission denied' from laravel in your browser run the following command
    $ php artisan cache:clear 
    $ composer dump-autoload
    

More Information

You can find more information on how to use the docker containers in the wiki here, (*9)


If you encounter any problem please do not hesitate to open up an issue I'll do my best to help., (*10)

The Versions

29/10 2015

dev-master

9999999-dev

Docker Containers for simple Laravel development.

  Sources   Download

MIT

The Requires

 

by Steve Azzopardi

laravel docker laravel docker

25/10 2015

0.0.1

0.0.1.0

Docker Containers for simple Laravel development.

  Sources   Download

MIT

The Requires

 

by Steve Azzopardi

laravel docker laravel docker