Sample code for using Docker Compose in production?

I am trying to deploy my stack to production using Docker Compose. I’ve read the documentation here https://docs.docker.com/compose/production/ I am wondering if anyone can point me to some sample code or a sample repository to supplement this documentation?