Update README

This commit is contained in:
xZero707 2021-02-09 21:57:28 +01:00
parent b701163fba
commit 6d8e17839a

View File

@ -1,12 +1,29 @@
# wordpress # wordpress
Worpress docker image, powered by nginx/php-fpm combo and managed by s6 supervisor. WorPress docker image, powered by nginx/php-fpm combo and managed by s6 supervisor.
Attempt to fix several of WordPress anti-patterns in ready to deploy container Attempt to fix several of WordPress anti-patterns in ready to deploy container
### Automatic plugin installer
```
WARNING: This feature is experimental and can fail. Proceed with caution
```
This container can install plugins during container startup defined in environment variable WORDPRESS_PLUGIN_LIST
If environment variable is left empty, or undefined, installer will skip.
Usage example:
```
# Notice that specific version can be defined
WORDPRESS_PLUGIN_LIST=akismet:4.1.8 two-factor
```
Caveats:
* If plugin was previously installed, and not defined on the list, it will NOT be removed.
* If plugin install fails, container will exit with error
### TODO ### TODO
* Out-of-the-box SSL support * Out-of-the-box SSL support
* ~Disable core updates~ * ~Disable core updates~
* Install/update plugins on the fly using wp cli (with versioning) * ~Install/update plugins on the fly using wp cli (with versioning)~
* Install/update themes on the fly using wp cli (with versioning) * Install/update themes on the fly using wp cli (with versioning)
* ~Apply theme and eventual plugin customizations using patch files~ (Partial) * ~Apply theme and eventual plugin customizations using patch files~ (Partial)
* Support automatic install using ENV * Support automatic install using ENV