Skip to content

Ammly/laravel-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

laravel-docker

Laravel docker template

Usage

docker-compose up -d --build app

After that completes, follow the steps from the src/README.md file to get your Laravel project added in (or create a new blank one).

The following are built for our web server, with their exposed ports detailed:

  • nginx - :8080
  • mysql - :3306
  • php - :9000

Three additional containers are included that handle Composer, NPM, and Artisan commands without having to have these platforms installed on your local computer. Use the following command examples from your project root, modifying them to fit your particular use case.

  • docker-compose run --rm composer update
  • docker-compose run --rm yarn run dev
  • docker-compose run --rm artisan migrate

About

Laravel docker template

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published