Given this configuration (defaults and what our CI uses):
app.url = http://localhost/
http.bind_port = 80
rzander@host$ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
d20dd74beced flightstats/hub:latest "/bin/bash /opt/hu..." 1 second ago Up 1 second 0.0.0.0:8081->80/tcp hub
root@container$ hostname
d20dd74beced
What we get from the current helper methods is this:
Given this configuration (defaults and what our CI uses):
What we get from the current helper methods is this:
HubHost.getLocalHttpNameUri
returnshttp://d20dd74beced:80/
HubHost.getLocalHttpIpUri
returnshttp://172.17.0.2:80
HubProperties.getAppUrl
returnshttp://localhost/
However what we need is either of these: