Giter Site home page Giter Site logo

wp-docker's Introduction

wp-docker

WordPress网站专用docker容器环境

优势

  1. 容器镜像采用基于docker容器alpine系统构建nginx+php+mariadb环境,网络采用docker host方式,日志可以获取到用户真实IP 地址 https://github.com/opcache/danmp
  2. 可以支持lua waf拦截非法请求,可以自定义规则

默认参数

  • 使用文档参考 https://aqzt.com/6645.html
  • mysql默认密码为test123123
  • 默认WEB路径/data/wwwroot/www.xxxxxx.cn
  • 默认nginx配置路径/opt/nginx/conf.d
  • 默认nginx waf配置路径/opt/nginx/conf.d/waf
  • 默认nginx waf规则配置路径/opt/nginx/conf.d/waf/wafconf
  • 默认nginx waf拦截日志/data/nginx-log/waflogs/waf.log

安装

cd /opt/
wget https://github.com/opcache/wp-docker/archive/master.zip
unzip master.zip
cd wp-docker-master
bash install.sh

卸载

cd wp-docker-master
bash uninstall.sh

重新加载nginx配置

cd wp-docker-master
bash reload.sh

启动容器

cd wp-docker-master
bash start.sh

停止容器

cd wp-docker-master
bash stop.sh

使用waf配置

cd wp-docker-master
bash nginx-waf.sh

一起来参与,分享交流,问题反馈

友情技术支持站点

感谢开源工具

wp-docker's People

Contributors

opcache avatar

Watchers

 avatar

Forkers

aqzt iii80 dnsmap

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.