From 35d5fc146ca0a08b1701ff7c4d72159ff2b348b4 Mon Sep 17 00:00:00 2001 From: Adnan Abdulhussein Date: Fri, 25 Sep 2015 13:54:42 +0200 Subject: [PATCH] Add note about accepting remote connections to help text and README --- bitnami/ruby/README.md | 3 ++- bitnami/ruby/help.txt | 9 ++++++--- bitnami/ruby/help.yaml | 2 ++ 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/bitnami/ruby/README.md b/bitnami/ruby/README.md index 0b3c1932a932..9397e652323c 100644 --- a/bitnami/ruby/README.md +++ b/bitnami/ruby/README.md @@ -97,7 +97,8 @@ ruby: # Accessing a Ruby app running a web server This image exposes port `3000` in the container, so you should ensure that your web server is -binding to port `3000`, as well as accepting remote connections. +binding to port `3000`, as well as listening on `0.0.0.0` to accept remote connections from your +host. Below is an example of a [Sinatra](http://www.sinatrarb.com/) app listening to remote connections on port `3000`: diff --git a/bitnami/ruby/help.txt b/bitnami/ruby/help.txt index 7cba7c354ead..1f7d25319504 100644 --- a/bitnami/ruby/help.txt +++ b/bitnami/ruby/help.txt @@ -6,10 +6,13 @@ PORTS: 3000: Port exposed by container. Please configure your $BITNAMI_APP_NAME app to use this port. + MISC: + Note: Configure your web server to bind to 0.0.0.0 to access from your host + COMMANDS: - print-help: Print this page. - check-updates: Check if a new version of the $BITNAMI_APP_NAME image is available. + print-help: This page + check-updates: Check if a new version of the $BITNAMI_APP_NAME image is available - Visit $GITHUB_PAGE for more information. + Visit $GITHUB_PAGE for more information diff --git a/bitnami/ruby/help.yaml b/bitnami/ruby/help.yaml index f6ba5c68a10d..5559fe7a638a 100644 --- a/bitnami/ruby/help.yaml +++ b/bitnami/ruby/help.yaml @@ -2,3 +2,5 @@ volumes: /app: "Default work directory for your $BITNAMI_APP_NAME application." ports: 3000: "Port exposed by container. Please configure your $BITNAMI_APP_NAME app to use this port." +misc: + Note: "Configure your web server to bind to 0.0.0.0 to access from your host"