smebberson / docker-alpine

Docker containers running Alpine Linux and s6 for process management. Solid, reliable containers.
MIT License
596 stars 186 forks source link

Consul HTTP API port not exposed #30

Closed matthewvalimaki closed 8 years ago

matthewvalimaki commented 8 years ago

alpine-consul should expose the default Consul HTTP API port 8500/tcp.

A side note: alpine-consul-ui is obsolete once we do #19 as the ui is now part of the Consul itself. The ui would be accessible via http://localhost:8500/ui.

matthewvalimaki commented 8 years ago

Furthermore it seems that the HTTP API is not available at all outside of the container because -client defaults to 127.0.0.1.

I recommend /etc/services.d/consul/run is modified to contain -client ${BIND} to make HTTP API exposed outside of the container. Or the very least this should be mentioned in the documents so that when needed images could be extended properly.

smebberson commented 8 years ago

As a result of PR #34, 8500/tcp is now exposed.

However, during testing of #34 I'm not sure that Consul's UI is bundled within Consul itself. I couldn't find it on their changelog and their website still links to a seperate download for the UI.

@matthewvalimaki, Am I missing something here with regarding consul ui?

smebberson commented 8 years ago

Closing as this is all fixed.