/docker_lnmp

Create Centos, Nginx, Mysql, PHP production environment quickly by Docker

Primary LanguagePythonMIT LicenseMIT

#Docker CentOS Nginx Mysql PHP Memcached 环境快速配置

特性

  1. 多域名支持.
  2. 支持HTTPS, HTTP/2.
  3. 可配置的最新版本PHP, Nginx and MySQL.
  4. PHP配置扩展.
  5. MySQL数据库分离.
  6. 配置文件分离.
  7. 日志分离.
  8. 命令行配置PHP扩展.

使用

  1. 安装 git, docker, docker-compose;
  2. clone:
    $ git clone hhttps://github.com/lee997/docker_lnmp.git
    
  3. cd docker_lnmp, 启动容器:
    $ docker-compose up
    
  4. 网站文件放置到./www/.
  5. 访问 localhost 或 IP地址