Compose File Reference

Compose file reference

The Compose file is a YAML file defining services, networks and volumes. The default path for a Compose file is ./docker-compose.yml.

Tip: You can use either a .yml or .yaml extension for this file. They both work.

A service definition contains configuration which will be applied to each container started for that service, much like passing command-line parameters to docker