Wordpress and wp-cli in a highly configurable, docker-friendly Ubuntu-box.
5.2K
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:
$APP_USER and is preconfigured with --path="/app/www"$ADMIN_EMAIL)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:
Content type
Image
Digest
Size
195.4 MB
Last updated
almost 7 years ago
docker pull funkygibbon/wordpress