This repository is to help speedup the installation and restoration of WordPress site using docker. This should help WordPress mainteners to install the plugins and themes that they would normally install across various WordPress sites they maintain.
We have added additional ENV variables so we could set some defaults for installation. The following are the new variables:
An additional volume will have to be defined in case you want to use automated backup to another disk/volume for the wp-content and .htaccess and should be mounted to /backup.
The base image for the container is the wordpress official image.
The following are the steps it does:
/var/www/html from the /backup directorywp_options so the site is not discoverable yet and to set permalink settingsplugins/pluginx.txt a list of all the plugins you wanted to get installed by default one for each line
themes/default.txt the default theme to be used for the installation
Additionally, you can add some custom zip files on plugins and themes directory for them to be installed automatically.
A docker-compose.yml has been added to get you started.
Content type
Image
Digest
sha256:7033b1696…
Size
301.7 MB
Last updated
7 months ago
docker pull koalaphils/wordpress