Sign inSign up

wiardvanrij/wordpress

By wiardvanrij

•Updated over 7 years ago

Image
0

122

wiardvanrij/wordpress repository overview

Based on https://hub.docker.com/_/wordpress/⁠

Difference is that we actually prepare wordpress "as is" rather than making a copy on run time. We also remove the theme and plugin folders as this is not relevant to our container. This container should be used as base, merely in your CI/CD flow by inserting your own theme and/or plugins and then pushing that container into production.

The following environment variables are also honored for configuring your WordPress instance:

  • -e WORDPRESS_DB_HOST=...
  • -e WORDPRESS_DB_USER=...
  • -e WORDPRESS_DB_PASSWORD=... *-e WORDPRESS_DB_NAME=... *-e WORDPRESS_TABLE_PREFIX=... *-e WORDPRESS_AUTH_KEY=..., -e WORDPRESS_SECURE_AUTH_KEY=..., -e WORDPRESS_LOGGED_IN_KEY=..., -e WORDPRESS_NONCE_KEY=..., -e WORDPRESS_AUTH_SALT=..., -e WORDPRESS_SECURE_AUTH_SALT=..., -e WORDPRESS_LOGGED_IN_SALT=..., -e WORDPRESS_NONCE_SALT=... (default to unique random SHA1s, but only if other environment variable configuration is provided) *-e WORDPRESS_DEBUG=1 (defaults to disabled, non-empty value will enable WP_DEBUG in wp-config.php) *-e WORDPRESS_CONFIG_EXTRA=... (defaults to nothing, non-empty value will be embedded verbatim inside wp-config.php -- especially useful for applying extra configuration values this image does not provide by default such as WP_ALLOW_MULTISITE; see docker-library/wordpress#142 for more details)

If the WORDPRESS_DB_NAME specified does not already exist on the given MySQL server, it will be created automatically upon startup of the wordpress container, provided that the WORDPRESS_DB_USER specified has the necessary permissions to create it.

Tag summary

Content type

Image

Digest

Size

146.1 MB

Last updated

over 7 years ago

docker pull wiardvanrij/wordpress:5.1.1-php7.3-apache