- nginx:1.15.6
- php:7.2-fpm
- mysql:8.0
- phpmyadmin/phpmyadmin
-
docker-compose exec app bash
,cd app
,composer create-project --prefer-dist laravel/laravel app
,npm install
-
create .env
DB_NAME=homestead DB_USER=homestead DB_PASS=secret DB_PORT=13306 TZ=Asia/Tokyo
-
Change mysql authentication(plugin) method
"caching_sha2_password" -> "mysql_native_password"
- http://localhost:8000 (Laravel)
- http://localhost:3000 (phpmyadmin)