Public Repository

Last pushed: 2 years ago
Short Description
DEPRECATED - Laravel 5 on PHP 7, run by Apache
Full Description

I'm abandoning this repo in favor of the autobuilt bquinn/laravel

Laravel 5 Environment

Image to run Laravel 5 apps under Apache 2 and PHP 7.0

I don't actively use or maintain this image, so feel free to check out the source on the GitHub repo

How to run

You should have your website code in a subdirectory of your user dir, like ~/docker/my-site

docker run -itP -v ~/<project path>:/var/www/laravel bquinn/apache-php7-laravel5

To set up a new project directory

To install a new laravel instance onto your file system folder, mount a volume and then run:
composer create-project laravel/laravel /var/www/laravel --prefer-dist

To test database connection in container

tsql -H <hostname> -U <username> -P <password> -D <database name>

Docker Pull Command