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.