[es] Also adding host IP discovery for http

This commit is contained in:
Geoff Bourne committed 2016-09-04 16:10:08 -05:00
1 parent 8cea619c13
commit c38bfb22cc
2 files changed
+17 -4

No files matched your search

+5 -1
View File
@@ -170,7 +170,7 @@ Using the Docker Compose file above, a value of `2` is appropriate when scaling
docker-compose scale master=3
## Auto transport discovery with Swarm Mode
## Auto transport/http discovery with Swarm Mode
When using Docker Swarm mode (starting with 1.12), the overlay and ingress network interfaces are assigned
multiple IP addresses. As a result, it creates confusion for the transport publish logic even when using
@@ -181,3 +181,7 @@ To resolve this, add
-e DISCOVER_TRANSPORT_IP=eth0
replacing `eth0` with another interface within the container, if needed.
The same can be done for publish/binding of the http module by adding:
-e DISCOVERY_HTTP_IP=eth2