Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add possibility to use BindPort IPAddress 👼 #657

Merged
merged 1 commit into from
Sep 20, 2016

Conversation

vdemeester
Copy link
Contributor

@vdemeester vdemeester commented Aug 31, 2016

Add a flag to get the ipaddress from the binded information (ip/port).

  • Find a better name for the flag
  • Update documentation

/cc @containous/traefik

Signed-off-by: Vincent Demeester [email protected]

@vdemeester
Copy link
Contributor Author

/cc @tqoliver

@emilevauge
Copy link
Member

Thanks @vdemeester :) , could you also update the doc?

@vdemeester
Copy link
Contributor Author

@emilevauge does the name of the flag looks good ? 😝

@vdemeester vdemeester force-pushed the use-port-ip-address branch 2 times, most recently from 4290204 to 679c4bd Compare September 1, 2016 19:41
@vdemeester vdemeester added this to the 1.1 milestone Sep 1, 2016
@@ -34,6 +34,7 @@ type Docker struct {
Domain string `description:"Default domain used"`
TLS *ClientTLS `description:"Enable Docker TLS support"`
ExposedByDefault bool `description:"Expose containers by default"`
UseBindPortIP bool `description:"Use the ip address from the port binded instead of the inner network one"`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The description could be a bit better here, the language feels a bit awkward...

Perhaps this would be better:

"Use the ip address from the bound port, rather than from the inner network"

@errm
Copy link
Contributor

errm commented Sep 12, 2016

This looks good to me... I quite like the name of the flag, its clear what it does :)

@emilevauge
Copy link
Member

Looks good to me, apart few comments :)

@emilevauge
Copy link
Member

Ping @vdemeester :)

@vdemeester
Copy link
Contributor Author

arf conflict on glide.lock 😓

@emilevauge
Copy link
Member

Do you still want to add an integration test?

@emilevauge emilevauge merged commit c3d9312 into traefik:master Sep 20, 2016
@vdemeester vdemeester deleted the use-port-ip-address branch September 20, 2016 13:24
@ldez ldez added kind/enhancement a new or improved feature. and removed status/2-needs-review labels Apr 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement a new or improved feature.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants