--- description: Find the latest recommended version of the Docker Compose file format for defining multi-container applications. keywords: docker compose file, docker compose yml, docker compose reference, docker compose cmd, docker compose user, docker compose image, yaml spec, docker compose syntax, yaml specification, docker compose specification redirect_from: - /compose/yaml/ - /compose/compose-file/compose-file-v1/ title: Overview toc_max: 4 toc_min: 1 --- {% include compose-eol.md %} The Compose file is a [YAML](https://yaml.org){: target="_blank" rel="noopener" class="_"} file defining services, networks, and volumes for a Docker application. The latest and recommended version of the Compose file format is defined by the [Compose Specification](https://github.com/compose-spec/compose-spec/blob/master/spec.md){: target="_blank" rel="noopener" class="_"}. The Compose spec merges the legacy 2.x and 3.x versions, aggregating properties across these formats and is implemented by **Compose 1.27.0+**. Use the links below to easily navigate key sections of the Compose specification.
Read about the status of the specification.
Learn about the Compose application model.
Understand the Compose file.
Understand version and name attributes for Compose.
Explore all services attributes for Compose.
Find all networks attributes for Compose.
Explore all volumes attributes for Compose.
Find out about configs in Compose.
Learn about secrets in Compose.