Skip to content

Commit f299ab0

Browse files
authored
Merge pull request #737 from kmala/gridhost
Allow to change the grid hub host
2 parents e0c7490 + 9df43c2 commit f299ab0

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Hub/Dockerfile.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ ENV GRID_TIMEOUT 30
2424
ENV GRID_DEBUG false
2525
# As integer, maps to "port"
2626
ENV GRID_HUB_PORT 4444
27-
27+
# As string, maps to "host"
28+
ENV GRID_HUB_HOST "0.0.0.0"
29+
2830
COPY generate_config \
2931
entry_point.sh \
3032
/opt/bin/

Hub/generate_config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
cat <<_EOF
44
{
5+
"host": "$GRID_HUB_HOST",
56
"port": $GRID_HUB_PORT,
67
"role": "hub",
78
"maxSession": $GRID_MAX_SESSION,

0 commit comments

Comments
 (0)