Skip to content

Commit

Permalink
Add the possibility to configure the listen port used by the broker
Browse files Browse the repository at this point in the history
  • Loading branch information
JCL38-ORANGE committed Jan 4, 2019
1 parent 69e6a26 commit 8ac65a8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jobs/broker/spec
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ properties:
default: broker
broker.password:
description: mongodb service broker password
broker.port:
description: server http port
default: 8080
mongodb_node.root_username:
description: mongodb root username
mongodb_node.root_password:
Expand Down
3 changes: 3 additions & 0 deletions jobs/broker/templates/config/application.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@ mongodb:
port: 27017
username: <%= p('mongodb_node.root_username') %>
password: <%= p('mongodb_node.root_password') %>

server:
port: <%= p('broker.port').to_json %>

0 comments on commit 8ac65a8

Please sign in to comment.