These are some sample examples.
Building – from
Volume – Storage mapping
Check out the article on Docker compose to get a good understanding of Docker-compose in depth. I would love to hear your thoughts, there are of course few more examples related to networking could have been added into the example section. But if you have read the networking section before, things should be simple to figure out for docker-compose.