Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Docker

codecov Laravel 6 Laravel 7 Laravel 8 Laravel 9

Full Laravel production environment for Docker.

install

Run in your Laravel project:

composer require --dev laravel-fans/docker
php artisan docker:publish

build

Then you will find Dockerfile in your project, so you can build:

docker build -t laravel-demo .
docker run -it laravel-demo
docker run -p 8000:80 -e "APP_ENV=local" -e "DB_CONNECTION=sqlite" \
  -e "APP_KEY=base64:L+3avOYCfuq8nnDpHs74+5Et3sx27TssucHQIyqfpDY=" \
  -it laravel-demo

Feel free to change the Dockerfile.

screenshots

docker run laravel

About

Full Laravel production environment for Docker

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages