ageekymonk 83005a8fde
Incorporating review comments.
1. Removing label to pull always
2. Making all hub, firefox and chrome version to be consistent
3. Make hub deploy to be mandatory
2018-02-06 11:50:47 +11:00

21 lines
514 B
Smarty

version: '2'
services:
seleniumhub:
image: selenium/hub:${SELENIUM_VERSION}
environment:
GRID_TIMEOUT: ${GRID_TIMEOUT}
ports:
- ${PUBLISH_PORT}:4444
{{- if eq .Values.DEPLOY_SELENIUM_CHROME "true"}}
selenium-chrome:
image: selenium/node-chrome:${SELENIUM_VERSION}
links:
- seleniumhub:hub
{{- end}}
{{- if eq .Values.DEPLOY_SELENIUM_FIREFOX "true"}}
selenium-firefox:
image: selenium/node-firefox:${SELENIUM_VERSION}
links:
- seleniumhub:hub
{{- end}}