docker-compose config

Usage: config [options]

Options:
-q, --quiet     Only validate the configuration, don't print
                anything.
--services      Print the service names, one per line.

Validate and view the compose file.

© 2017 Docker, Inc.
Licensed under the Apache License, Version 2.0.
Docker and the Docker logo are trademarks or registered trademarks of Docker, Inc. in the United States and/or other countries.
Docker, Inc. and other parties may also have trademark rights in other terms used herein.
https://docs.docker.com/v1.12/compose/reference/config/