summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJonathan Giannuzzi <jonathan@giannuzzi.be>2016-07-11 11:34:01 +0200
committerJonathan Giannuzzi <jonathan@giannuzzi.be>2016-07-11 11:34:01 +0200
commit83f35e132b37bf20baec264e49905c3ecc944ace (patch)
treea89ab5d79b8abed0ad01c0738d07e552e195eca6 /docs
parentc3fd6a8f4d4388316499d89a38afbb4e34346ce7 (diff)
Add support for creating internal networks
Signed-off-by: Jonathan Giannuzzi <jonathan@giannuzzi.be>
Diffstat (limited to 'docs')
-rw-r--r--docs/compose-file.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/compose-file.md b/docs/compose-file.md
index f7b5a931..59fcf331 100644
--- a/docs/compose-file.md
+++ b/docs/compose-file.md
@@ -859,6 +859,10 @@ A full example:
host2: 172.28.1.6
host3: 172.28.1.7
+### internal
+
+By default, Docker also connects a bridge network to it to provide external connectivity. If you want to create an externally isolated overlay network, you can set this option to `true`.
+
### external
If set to `true`, specifies that this network has been created outside of
@@ -866,7 +870,7 @@ Compose. `docker-compose up` will not attempt to create it, and will raise
an error if it doesn't exist.
`external` cannot be used in conjunction with other network configuration keys
-(`driver`, `driver_opts`, `ipam`).
+(`driver`, `driver_opts`, `ipam`, `internal`).
In the example below, `proxy` is the gateway to the outside world. Instead of
attemping to create a network called `[projectname]_outside`, Compose will