This repository provides a basic directory structure, .gitignores, and a docker-compose configuration to bootrstrap a new Wordpress dev environment.
git clone https://github.com/ecomputer/wordpress-docker-compose.git my-wordpress-project
cd my-wordpress-project
rm -rf .git
Now you are able to start the docker-compose, and initialize a new git repository!
Tested with Wordpress 4.8.1 using php 7.1