EmergingTechnologyInstitute/acmeair-netflixoss-dockerlocal — pull request #9 by takahiro-inaba (2014-07-23 18:34:31+00:00)
Title: Publish exposed ports of HTTP server containers

Enabled publishing all exposed ports of the HTTP server containers: auth-service, webapp, eureka, zuul and asgard. This is assumed human access to the servers from outside of the host of the containers with web browser. The microscaler, the agent and cassandra would not be necessary to be accessed via published ports. The port numbers are expected by the clients.

I tested the published port 8009, AJP, with `proxy_ajp` of Apache, but it would not be used usually.

example

```
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
4288b90af887 acmeair/asgard:latest /usr/bin/supervisord 7 minutes ago Up 7 minutes 0.0.0.0:49220->22/tcp, 0.0.0.0:49221->80/tcp, 0.0.0.0:49222->8009/tcp asgard
004298913d5f acmeair/microscaler:latest /usr/bin/supervisord 7 minutes ago Up 7 minutes 22/tcp microscaler
6fee9ed0f78d acmeair/webapp-liberty:latest /usr/bin/supervisord 20 minutes ago Up 20 minutes 0.0.0.0:49215->22/tcp, 0.0.0.0:49216->80/tcp webapp2
334418864c4b acmeair/auth-service-liberty:latest /usr/bin/supervisord 20 minutes ago Up 20 minutes 0.0.0.0:49213->22/tcp, 0.0.0.0:49214->80/tcp auth2
3410f4aa7eb7 acmeair/webapp:latest /usr/bin/supervisord 22 minutes ago Up 22 minutes 0.0.0.0:49210->22/tcp, 0.0.0.0:49211->80/tcp, 0.0.0.0:49212->8009/tcp webapp1
4d47af5c8e8a acmeair/auth-service:latest /usr/bin/supervisord 23 minutes ago Up 23 minutes 0.0.0.0:49207->22/tcp, 0.0.0.0:49208->80/tcp, 0.0.0.0:49209->8009/tcp auth1
d8eeaf90e500 acmeair/microscaler-agent:latest /usr/bin/supervisord 23 minutes ago Up 23 minutes 22/tcp microscaler-agent
568c16291e45 acmeair/zuul:latest /usr/bin/supervisord 24 minutes ago Up 24 minutes 0.0.0.0:49201->22/tcp, 0.0.0.0:49202->80/tcp, 0.0.0.0:49203->8009/tcp zuul
dcbd0bfbf5df acmeair/eureka:latest /usr/bin/supervisord 24 minutes ago Up 24 minutes 0.0.0.0:49198->22/tcp, 0.0.0.0:49199->80/tcp, 0.0.0.0:49200->8009/tcp eureka
c19ebf31d520 acmeair/cassandra:latest /usr/bin/supervisord 24 minutes ago Up 24 minutes 22/tcp cassandra1
13a83f985c07 crosbymichael/skydock:latest /go/bin/skydock -ttl 24 minutes ago Up 24 minutes skydock
e307aa60e65d crosbymichael/skydns:latest skydns -http 0.0.0.0 24 minutes ago Up 24 minutes 172.17.42.1:53->53/udp, 172.17.42.1:8080->8080/tcp skydns
```