Shortly after publishing my last post about how to use Docker to install WordPress and MySQL, I happened to watch a video showing basically the same process:
The speaker walks through the steps you need to do to create the docker-compose.yml file I referenced in that last post.
Enjoy!