Skip to content

frankvanderwal/docker-compose-laravel

 
 

Repository files navigation

docker-compose-laravel

This is a fork of the docker-compose-laravel, made by Andrew Schmelyun

My changes

  • removed the src folder, so that the laravel app must be placed in the root folder
  • database credentials are fetched from .env file
  • created mysql volume, so that the database persists over container restart

troubleshooting

  • when using php 8.0, laravel 9.* , some error occured, solve it by adding a bunch of symfony requires to composer.json (see this article)

Original documentation is copied here (in case the original repo will cease to exist)

About

A docker-compose workflow for local Laravel development

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%