Services, Networks, and Volumes
A Compose file commonly contains a services section and may define named volumes and networks. Each service describes one containerized process.
Compose automatically creates an application network, so services can reach each other by service name. For example, an application can use db:5432 rather than a container IP.