Sign inSign up

funkygibbon/wordpress

By funkygibbon

•Updated over 3 years ago

Wordpress and wp-cli in a highly configurable, docker-friendly Ubuntu-box.

Image
0

5.2K

funkygibbon/wordpress repository overview

⁠Wordpress

PHP 7.3 Nginx 1.17.4 ngx_pagespeed latest-stable OpenSSL 1.1.1d

Wordpress-ready webserver stack built on funkygibbon/nginx-php-exim⁠

Docker Hub: funkygibbon/wordpress⁠


docker run -p "80:80" -p "443:443" -e "APP_HOSTNAME=some.example.com" -v /some/dir/www:/app/www funkygibbon/wordpress


Included in this image:

  • wp-cli⁠, executes as $APP_USER and is preconfigured with --path="/app/www"
  • ngx_pagespeed⁠
  • NewRelic⁠ PHP application monitoring - just add license
  • exim4, ready for smarthost delivery to sendgrid⁠ or mailgun⁠
  • fully configurable cron daemon
  • xdebug⁠ with configurable remote host/port/key
  • Production / development environments, eg in development, all outgoing email is redirected to a configurable destination ($ADMIN_EMAIL)
  • Sane security defaults, and SSL configuration based on Mozilla's intermediate profile. See: funkygibbon/nginx-pagespeed⁠ for more details

This container is configurable via a plethora of environment variables, which are applied on boot and service start

vardefaultdescription
OVERWRITE_FILESfalseSet true to force install Wordpress and overwrite the contents of /app/www
WP_TITLEfunkygibbon/wordpressThe title of the Wordpress install
WP_HOSTNAMEWordpress URL. Tries to fallback to $APP_HOSTNAME if blank
WP_DB_HOSTmysqlDatabase hostname
WP_DB_NAMEDatabase name
WP_DB_USERDatabase username
WP_DB_PASSDatabase password
WP_DB_PREFIXwordpress_Database table prefix
WP_PLUGINSwordfence;debug-barsemi-colon separated list of Wordpress plugins to install
WP_ADMIN_NAMEName of Wordpress administrator user to create
WP_ADMIN_USERUsername of Wordpress administrator user to create
WP_ADMIN_PASSPassword of Wordpress administrator user to create
WP_ADMIN_EMAILEmail address of Wordpress administrator user to create
WP_VERSIONlatestVersion of Wordpress to install
WP_LOCALEen_AULocale of Wordpress to install
WP_THEME_HTTPHTTP address of Wordpress theme to install
WP_THEME_GITGit address of Wordpress theme to install
WP_THEME_USERNAMEUsername for theme install if authentication is required
WP_THEME_PASSWORDPassword for theme install if authentication is required
SSH_DOMAIN_HOSTKEYSsemi-colon separated list of additional SSH hostkeys to install for git/ssh theme. github and bitbucket are pre-installed

See also features and configuration options from upstream images:

Tag summary

Content type

Image

Digest

Size

195.4 MB

Last updated

almost 7 years ago

docker pull funkygibbon/wordpress