Add note about accepting remote connections to help text and README
This commit is contained in:
parent
46500bc2e7
commit
35d5fc146c
|
|
@ -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`:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue