Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 606 Bytes

README.MD

File metadata and controls

33 lines (25 loc) · 606 Bytes

docker-compose service:

  • php-fpm
  • nginx
  • mysql
  • redis

php extension:

  • redis
  • swoole

USAGE

Example for using laravel:

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