This is a super easy way to setup wordpress with docker compose.
- Create a folder called MyWebSite
- Inside MyWebSite, create two sub folders called www and db
- Copy attached docker-compose.yaml to MyWebSite
Inside the MyWebSite folder, start the site with:
docker-compose up -d
Inside the MyWebSite folder, stop the site with:
docker-compose down
Site url’s
WordPress site
http://localhost:8000
PhpMyAdmin
http://localhost:8080

