-
Create two folders (wordpress and 'mysql') in the root directory. The root directory should be as follows
+ wordpress + mysql + nginx |- default.conf -.gitignore -docker-compose.yml -nginx.dockerfile -php.dockerfile -readme.md
-
extract the wordpress installation files into the wordpress folder
-
start wordpress installation and setup with
docker compose up -d
-
Go to localhost to begin setting up wordpress
whenever changes are made to the docker-compose.yml use
docker compose up -d --build