- Build a simple laravel development environment with docker-compose.
- fork from ucan-lab/docker-laravel
- 最強のLaravel開発環境をDockerを使って構築する
- DockerでPHP7.4+Apache+MySQLの環境構築しようと思ったら詰まりまくった【Windows & Mac】
- npm インストール方法
-
with creating laravel project
$ git clone git@github.com:soso555BoBs/env-laravel.git $ cd env-laravel $ make create-project # Install the latest Laravel project $ make install-recommend-packages # Not required
-
without creating laravel project
$ git clone git@github.com:soso555BoBs/env-laravel.git $ cd env-laravel $ git clone git@github.com:laravel/laravel.git docker-laravel/backend # Clone any project to the backend directory $ make init
Read this Makefile.
Read this Wiki.
├── app
├── web
├── redis
├── mailhog
└── db
- Base image
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