-- エンジニア定例版
Docker Compose for PHP, nginx, PHP-FPM, MySQL, memcached development environment.
【超簡単】Docker を使って1クリックでモダンな PHP 開発環境ができるようにする(PHP, MySQL, PHP-FPM, nginx, memcached)
Install Docker for Mac.
Clone this repository.
$ git clone https://github.com/kiwi-26/docker-php-nginx-mysql-memcached.git
Up:
$ cd docker-php-nginx-mysql-memcached/docker
$ docker-compose up
Stop:
$ docker-compose stop
You can switch PHP version 5.6.
If you want to use PHP 5.6, write below on docker-compose.yml
.
< build: ./php-fpm71
> build: ./php-fpm56
- Change nginx listening port from 80 to 8080
- Add app-get unzip, git
- Add composer install
This software is released under the MIT License, see LICENSE.