Adding port to be published

This commit is contained in:
ageekymonk 2017-12-13 11:55:59 +11:00
parent 31b2bff463
commit df7555a2bb
No known key found for this signature in database
GPG Key ID: B94B060D25FFA652
2 changed files with 25 additions and 18 deletions

View File

@ -5,6 +5,8 @@ services:
image: selenium/hub:${SELENIUM_HUB_VERSION}
environment:
GRID_TIMEOUT: ${GRID_TIMEOUT}
ports:
- ${PUBLISH_PORT}:4444
labels:
io.rancher.container.pull_image: always
{{- end}}

View File

@ -13,24 +13,6 @@ catalog:
options:
- true
- false
- variable: DEPLOY_SELENIUM_CHROME
description: Deploy Selenium Chrome Node
label: Deploy Selenium Chrome Node
required: true
type: enum
default: true
options:
- true
- false
- variable: DEPLOY_SELENIUM_FIREFOX
description: Deploy Selenium Firefox Node
label: Deploy Selenium Firefox Node
required: true
type: enum
default: true
options:
- true
- false
- variable: SELENIUM_HUB_VERSION
label: Selenium Hub Version
description: Selenium Hub Version
@ -62,6 +44,20 @@ catalog:
description: Grid Timeout (in seconds)
type: int
default: 30
- variable: PUBLISH_PORT
label: Publish Port
description: Port to expose for external access
type: int
default: 4444
- variable: DEPLOY_SELENIUM_CHROME
description: Deploy Selenium Chrome Node
label: Deploy Selenium Chrome Node
required: true
type: enum
default: true
options:
- true
- false
- variable: SELENIUM_CHROME_VERSION
label: Selenium Chrome Version
description: Selenium Chrome Version
@ -88,6 +84,15 @@ catalog:
- 3.4.0-dysprosium
- 3.4.0-chromium
- 3.4.0-bismuth
- variable: DEPLOY_SELENIUM_FIREFOX
description: Deploy Selenium Firefox Node
label: Deploy Selenium Firefox Node
required: true
type: enum
default: true
options:
- true
- false
- variable: SELENIUM_FIREFOX_VERSION
label: Selenium Firefox Version
description: Selenium Firefox Version