Configure Docker according to which one of the 3 approaches you choose:
Prepackaged Image #
- Download the
docker-compose.yml
file from https://github.com/zdmc23/dt-docker into your working directory (or clone it from GitHub) - Create a
.env
file and copy/paste the following, and then update the values:CopyDOMAIN=mydomain EMAIL=noreply@mydomain MYSQL_USER=wordpress MYSQL_PASSWORD=wordpress MYSQL_ROOT_PASSWORD=somewordpress
(DOMAIN
value can be an IP address – e.g.,127.0.0.1
or192.168.1.2
)
Video Walk-through #
- As mentioned above, the YouTube playlist works best to help understand these instructions, rather than following it alone.
Example Template #
- These instructions were originally based on https://github.com/cairocoder01/dt-docker
- Download the files, or clone the repository from GitHub, to use as a template.