MD5: 97bad600ed4acc181c4b329bed0c69f9

Docker-Compose

...

Networking

By default Docker-Compose will create a new network for the given compose file. You can change the behavior by defining custom networks in your compose file.

Create and assign custom network

... Example:

networks:
  custom-network:

services:
  app:
    networks:
      - custom-network

Use existing networks

If you want to use an existing Docker network for your compose files, you can add the external: true parameter in your compose file Example:

networks:
  existing-network:
    external: true