Public | Automated Build

Last pushed: 10 hours ago
Short Description
Wordpress and wp-cli in a highly configurable, docker-friendly Ubuntu-box.
Full Description

Wordpress

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

var default description
OVERWRITE_FILES false Set true to force install Wordpress and overwrite the contents of /app/www
WP_TITLE funkygibbon/wordpress The title of the Wordpress install
WP_HOSTNAME Wordpress URL. Tries to fallback to $APP_HOSTNAME if blank
WP_DB_HOST mysql Database hostname
WP_DB_NAME Database name
WP_DB_USER Database username
WP_DB_PASS Database password
WP_DB_PREFIX wordpress_ Database table prefix
WP_PLUGINS wordfence;debug-bar semi-colon separated list of Wordpress plugins to install
WP_ADMIN_NAME Name of Wordpress administrator user to create
WP_ADMIN_USER Username of Wordpress administrator user to create
WP_ADMIN_PASS Password of Wordpress administrator user to create
WP_ADMIN_EMAIL Email address of Wordpress administrator user to create
WP_VERSION latest Version of Wordpress to install
WP_LOCALE en_AU Locale of Wordpress to install
WP_THEME_HTTP HTTP address of Wordpress theme to install
WP_THEME_GIT Git address of Wordpress theme to install
WP_THEME_USERNAME Username for theme install if authentication is required
WP_THEME_PASSWORD Password for theme install if authentication is required
SSH_DOMAIN_HOSTKEYS semi-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:

Docker Pull Command
Owner
funkygibbon
Source Repository