A bit lost on where to start a compose

I’m trying to figure out the whole docker-compose thing and the main thing I can’t figure out is : where to start…

I mean, let’s say I want a Drupal installation with nginx / MariaDB / Mailhog, what would be the best starting point?

  • From a Debian and then linking nginx, … ?
  • From the Drupal one?
  • Do I use the Drupal docker or do I download it with a RUN command within the docker-compose file?

For a newcomer to docker-compose, it seems like there are various way to do the same thing and I have to say I’m a bit (a lot ? :slight_smile: ) lost… Could anyone enlight me?

Refer the section subsequent to “Use docker compose:”