Skip to content

BracketSpace/docker-wordpress-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker image for WordPress development

Features

Image based on the official WordPress image and packed with all the needed WordPress development tools, including:

  • Xdebug
  • WP-CLI
  • Mailhog

The image is supporting SSL host with default certificates:

  • /etc/ssl/private/ssl-cert-snakeoil.key
  • /etc/ssl/certs/ssl-cert-snakeoil.pem

Usage

Pull the image: docker pull bracketspace/wordpress

WP-CLI command in docker-compose: docker-compose exec --user www-data wordpress wp --version

Mailhog available on: http://localhost:8025

Available PHP versions:

  • PHP 7.2 - bracketspace/wordpress:php7.2
  • PHP 7.1 - bracketspace/wordpress:php7.1
  • PHP 7.0 - bracketspace/wordpress:php7.0
  • PHP 5.6 - bracketspace/wordpress:php5.6