Sign inSign up

exoplatform/wordpress

By exoplatform

•Updated over 3 years ago

Build and configure wordpress installation

Image
0

4.0K

exoplatform/wordpress repository overview

⁠wordpress

Allow to install a predefined version of wordpress at build time and configure it at runtime.

⁠Content

The image contains the following components pre-installed :

⁠Usage

docker run -v [PATH]:/src exoplatform/wordpress

The container will look for the following elements based on the /src directory :

  • plugins/* : sources of the plugins to install and activate
  • themes/* : sources of the themes to install
  • plugins.lst : list of official plugins to install
  • themes.lst : list of official themes to install
  • languages.lst : list of languages to install. (since 1.1.10)

⁠plugins.lst and themes.lst files format

List of elements under the form :

<name>:<version|url>

Example :

# My plugins
contact-form-7:4.5.1
polylang:2.0.7
myplugin:https://my.public.url/myplugin.zip

⁠Languages

Each line of the languages.lst file must match a Wordpress local⁠. If the file is not present, no additional languages will be installed.

Example :

en_GB
fr_FR

⁠Environment variables

Variable NameDescription
WORDPRESS_DB_HOSTDatabase host name
WORDPRESS_DB_USERDatabase user name
WORDPRESS_DB_PASSWORDDatabase user password
WORDPRESS_DB_NAMEDatabase schema name
WORDPRESS_PUBLIC_URLPublic url to use Example : http://localhost⁠
WORDPRESS_DOMAIN_NAMEWordpress domain Example : localhost
WORDPRESS_ADMIN_USERAdmin user to initialize Example : admin
WORDPRESS_ADMIN_PASSWORDAdmin user password to initialize Example : adminpassword
WORDPRESS_DISABLE_CRONDisable default wordpress cron jobs : (default: false)
WORDPRESS_MEMORY_LIMITWordpress memory limit: (default 128M)
FPM_STATUS_ENABLEDshould /status page should be enabled or not (default: true)
FPM_PING_ENABLEDShould the fpm /ping page should be enabled (default: true)
FPM_PROCESS_MANAGERType of process manager SUpported : dynamic or ondemand default:dynamic
FPM_START_CHILDRENNumber of children created on startup default=2
FPM_MAX_CHILDRENMax number of child process default=5
FPM_MIN_SPARE_SERVERSMinimal number of idle processes default=1
FPM_MIN_SPARE_SERVERSMaximal number of idel processes default=3

Tag summary

Content type

Image

Digest

sha256:215a9e907…

Size

297.7 MB

Last updated

over 3 years ago

docker pull exoplatform/wordpress