#Docker CentOS Nginx Mysql PHP Memcached 环境快速配置
- 多域名支持.
- 支持HTTPS, HTTP/2.
- 可配置的最新版本PHP, Nginx and MySQL.
- PHP配置扩展.
- MySQL数据库分离.
- 配置文件分离.
- 日志分离.
- 命令行配置PHP扩展.
- 安装
git
,docker
,docker-compose
; - clone:
$ git clone hhttps://github.com/lee997/docker_lnmp.git
- cd docker_lnmp, 启动容器:
$ docker-compose up
- 网站文件放置到./www/.
- 访问 localhost 或 IP地址