Skip to content

Commit

Permalink
Merge pull request #591 from gkiszczak/hub-port-allow-to-change
Browse files Browse the repository at this point in the history
Allow to change hub port
  • Loading branch information
diemol committed Oct 13, 2017
2 parents 7bcba0b + 32eb00a commit 2a3df56
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Hub/Dockerfile.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ ENV GRID_BROWSER_TIMEOUT 0
ENV GRID_TIMEOUT 30
# Debug
ENV GRID_DEBUG false
# As integer, maps to "port"
ENV GRID_HUB_PORT 4444

COPY generate_config \
entry_point.sh \
Expand Down
2 changes: 1 addition & 1 deletion Hub/generate_config
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
cat <<_EOF
{
"host": null,
"port": 4444,
"port": $GRID_HUB_PORT,
"role": "hub",
"maxSession": $GRID_MAX_SESSION,
"newSessionWaitTimeout": $GRID_NEW_SESSION_WAIT_TIMEOUT,
Expand Down

0 comments on commit 2a3df56

Please sign in to comment.