make weave port configurable via WEAVE_PORT
We cannot just leave that to the `-port` parameter since that only controls the container internal port weave is listening on (and uses as the default destination port for outbound connections). Also, we need the port for connection tracking cleanup during `stop` and `reset`. So we make setting `WEAVE_PORT` the only documented mechanism for overriding the port, and let `-port` set the container internal port only (and the script pays attentiont to that, so it can establish the correct port mapping).
This commit is contained in:
1 parent
1275bb24e5
commit
272e63643c
3 files changed
+19
-8
No files matched your search
+4
-1
@@ -316,7 +316,10 @@ data centres. So, for example, one could run an application consisting
|
||||
of containers on GCE, EC2 and in local data centres.
|
||||
|
||||
To enable this, the network must be configured to permit TCP and UDP
|
||||
connections to port 6783 of the docker hosts.
|
||||
connections to the weave port of the docker hosts. The weave port
|
||||
defaults to 6783. This can be overriden by setting `WEAVE_PORT`, but
|
||||
it is highly recommended that all peers in a weave network are given
|
||||
the same port setting.
|
||||
|
||||
### <a name="multi-hop-routing"></a>Multi-hop routing
|
||||
|
||||
|
||||
Reference in new issue
Block a user