- php-fpm
- nginx
- mysql
- redis
- redis
- swoole
step1: install laravel with composer:
./bin/composer create-project --prefer-dist laravel/laravel www
step2: start all docker container with docker-compose (php redis nginx mysql..):
./start
Then enjoy! website: http://ip:8888
For using laravel artisan or other script just following the command:
./bin/php artisan
And you may change your mysql account item in .env file,The mysql account info sees in docker-compose.yaml