![License] (https://img.shields.io/github/license/ucan-lab/docker-laravel?color=f05340) ![Stars] (https://img.shields.io/github/stars/ucan-lab/docker-laravel?color=f05340) ![Issues] (https://img.shields.io/github/issues/ucan-lab/docker-laravel?color=f05340) ![Forks] (https://img.shields.io/github/forks/ucan-lab/docker-laravel?color=f05340)
Build a simple laravel development environment with docker-compose.
$ git clone [email protected]:ucan-lab/docker-laravel.git
$ cd docker-laravel
$ make create-project # Install the latest Laravel project
$ make install-recommend-packages # Not required
Read this Makefile.
Read this Wiki.
βββ app
βββ web
βββ db
- Base image
- mysql:8.0
By default, the named volume is mounted, so MySQL data remains even if the container is destroyed. If you want to delete MySQL data intentionally, execute the following command.
$ docker-compose down -v && docker-compose up