2020-03-29 01:09:29 +01:00
|
|
|
# wordpress
|
2021-02-09 21:57:28 +01:00
|
|
|
WorPress docker image, powered by nginx/php-fpm combo and managed by s6 supervisor.
|
2020-03-29 03:18:19 +02:00
|
|
|
|
|
|
|
Attempt to fix several of WordPress anti-patterns in ready to deploy container
|
2020-03-29 01:49:41 +01:00
|
|
|
|
2021-02-09 21:57:28 +01:00
|
|
|
### 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
|
2021-02-09 22:04:05 +01:00
|
|
|
|
2021-02-09 21:57:28 +01:00
|
|
|
If environment variable is left empty, or undefined, installer will skip.
|
|
|
|
|
2021-02-09 22:04:05 +01:00
|
|
|
Plugins are not activated automatically; This is intentional.
|
|
|
|
|
2021-02-09 21:57:28 +01:00
|
|
|
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
|
|
|
|
|
2020-03-29 01:49:41 +01:00
|
|
|
### TODO
|
2020-03-29 03:18:19 +02:00
|
|
|
* Out-of-the-box SSL support
|
2020-10-23 17:17:29 +02:00
|
|
|
* ~Disable core updates~
|
2021-02-09 21:57:28 +01:00
|
|
|
* ~Install/update plugins on the fly using wp cli (with versioning)~
|
2020-07-01 01:10:55 +02:00
|
|
|
* Install/update themes on the fly using wp cli (with versioning)
|
2020-10-23 17:17:29 +02:00
|
|
|
* ~Apply theme and eventual plugin customizations using patch files~ (Partial)
|
2020-07-01 00:54:43 +02:00
|
|
|
* Support automatic install using ENV
|
|
|
|
* Create users automatically using ENV
|