Docker compose #

Networking#
By default docker-compose will create a new network for the given compose file. You can change the behavior by defining the custom networks in your compose file.
Create and assign custom network#
Using existing networks#
If you want to use an existing Docker network for your compose files, you can add external: true parameter in your compose file.