Docker Compose for Wordpress Local Development

This is a docker-compose setup for local development of Wordpress sites. It uses the following containers:

Requirements

Installation

  1. Clone this repository in the same directory as your Wordpress project.
  2. Create the data/ directory at the root of this repository.
  3. Create the wordpress/ directory at the root of this repository.
  4. Go to the wp-docker/ directory (this repository).
  5. Run docker-compose up -d.
  6. Go to http://localhost to access your Wordpress site.