Git Product home page Git Product logo

deb-wordpress's Introduction

deb-wordpress

docker-tag-triggered-prod

Wordpress based on debian bullseye with internal Mariadb and automated plugin installs. This has been created for wordpress sandbox environments so that you can run multiple wordpress installations in parallel and not have them step all over one another.

Using

To run:

docker run -d \
        --net="bridge" \
        --name=wordpress \
        -p 8081:80 \
        -e SERVER_NAME=localhost \
        -e URL="http://localhost:8081" \
        -e ADMIN_NAME=admin \
        -e ADMIN_PASSWORD=admin \
        -e [email protected] \
        -e PLUGINS='contact-form-7' \
        -e TITLE='Wordpress-Title' \
        -v wp-content:/content \
        deb-wordpress:latest

Notes

Make sure the plugins are separated by a space.

The internal mariadb is not exposed by default. It runs on port 3306 with user root and password root. It is not intended to expose Mariadb externally; if that is required, it is suggested to use separate wordpress and mariadb containers.

If you have custom content, images, plugins, etc... add a wp-content directory and make it a docker volume. On the container's firt run, it will copy the contents into var/www/html.

If you want basic auth used over the entire wordpress site, set BASIC_AUTH_ENABLED=true in the container. ALLOWED_IP will restrict the site access to 1 IP. The basic auth will use the same admin credentials as wordpress admin.


If you appreciate my work, then please consider buying me a beer :D

PayPal donation

deb-wordpress's People

Contributors

tekmanic avatar

Stargazers

 avatar

Watchers

 avatar

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.