Skip to content

awdelyea/nginx_php_laravel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Nginx PHP5 Composer Container For Laravel

This is a docker image for running a Laravel project with nginx and php-fpm

Prerequisites

This docker container expects the following file structure:

/Data
|--> /http <laravel app goes here>
|--> /config
|--> /logs
|--> /secure

Installation

docker build -t awdelyea/php_composer git://github.com/awdelyea/nginx_php_laravel

How To Use

If running this in a dev environment with an already running 'data' container:

docker run -d --name="nginx-php" -p 8080:80 --volumes-from="data" -it awdelyea/nginx-php-laravel

If running standalone:

docker run -d --name="nginx-php" -p 8080:80 -v <path/to/app>:/data/ -it awdelyea/nginx-php-laravel

About

Nginx PHP-FPM Docker For Laravel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages