Networking in Compose | Docker Documentation
https://docs.docker.com/compose/networkingSee the links reference for more information.. Multi-host networking. When deploying a Compose application on a Docker Engine with Swarm mode enabled, you can make use of the built-in overlay driver to enable multi-host communication.. Consult the Swarm mode section, to see how to set up a Swarm cluster, and the Getting started with multi-host networking to learn about …
docker-compose up | Docker Documentation
https://docs.docker.com/compose/reference/upThe docker-compose up command aggregates the output of each container (essentially running docker-compose logs --follow ). When the command exits, all containers are stopped. Running docker-compose up --detach starts the containers in the background and leaves them running. If there are existing containers for a service, and the service’s ...