Skip to content

Get a perfectly set-up laravel environment with a docker-composition that includes NGINX, MySQL and PHP by simply cloning this repo.

Notifications You must be signed in to change notification settings

jonasknappitsch/docker-compose-laravel-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-compose-laravel-env

prerequisites

sudo apt install composer

setup

Get a perfectly set-up laravel environment by simply cloning this repo, navigating into the folder with

cd docker-compose-laravel-env

and running

composer create-project laravel/laravel src/

in order to initialize your fresh new laravel project.

Now, as everything is set up, run your docker container (including NGINX, MySQL, PHP) with just one command:

docker-compose up

Your laravel application should now be running on localhost:80.

Once you're finished, simply shut everything down with docker-compose down.

About

Get a perfectly set-up laravel environment with a docker-composition that includes NGINX, MySQL and PHP by simply cloning this repo.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages