Skip to content

Commit

Permalink
Added some docs how to configure http port for hawtio in jube
Browse files Browse the repository at this point in the history
  • Loading branch information
davsclaus committed Nov 28, 2014
1 parent 22ade41 commit 8304aee
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/faqConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,13 @@ You can configure where this folder lives on the file system using the **JUBE_PR
export JUBE_PROCESS_DIR=/var/local/myjube/processes


#### How do I configure HTTP port for hawtio web application?

Jube embeds hawtio as the web console. By default port 8585 is used.

The port number can be configured as an environment variable, for example to use port 8282:

export HTTP_PORT=8282

Alternative the port number can also be configured in the `env.sh` / `env.bat` script file, which setup the environment variables.

1 change: 1 addition & 0 deletions jube/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
<!-- configure hawtio -->
<docker.env.hawtio_authenticationEnabled>false</docker.env.hawtio_authenticationEnabled>
<docker.env.JUBE_IMPORT_URLS>mvn:io.fabric8.quickstarts/fabric8-quickstarts-parent/${fabric8.version}/zip/app,mvn:io.fabric8.jube.images.fabric8/apps/${fabric8.version}/zip/app</docker.env.JUBE_IMPORT_URLS>
<docker.env.HTTP_PORT>8585</docker.env.HTTP_PORT>
</properties>

<dependencies>
Expand Down

0 comments on commit 8304aee

Please sign in to comment.