docker-laravel 🐳
Introduction
Build a simple laravel development environment with docker-compose.
Usage
$ git clone git@github.com: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.
Tips
Read this Wiki.
Container structure
├── app
├── web
└── db
app container
web container
db container
- Base image
- mysql:8.0
Persistent MySQL Storage
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