Compose file | Docker Documentation
docs.docker.com › compose › compose-fileDocker Compose 1.27.0+ implements the format defined by the Compose Specification. Previous Docker Compose versions have support for several Compose file formats – 2, 2.x, and 3.x. The Compose specification is a unified 2.x and 3.x file format, aggregating properties across these formats. Compose and Docker compatibility matrix. There are ...
Networking in Compose | Docker Documentation
docs.docker.com › compose › networkingNetworking features are not supported for Compose file version 1 (deprecated). By default Compose sets up a single network for your app. Each container for a service joins the default network and is both reachable by other containers on that network, and discoverable by them at a hostname identical to the container name. Note.