This is a repository that has working drupal docker compose. All tools have been installed into phpfpm image. Everything can be done inside docker images, no need to install any drupal/php tools in to the host machine.
I've built this ontop of Digital Ocean's instructions: How To Install Drupal with Docker Compose
When running the image, the default configuration is stored in /docker/*. Everything should work out of the box, but you might want to go over all configuration.
Running:
$ docker compose up -d