Skip to content

Instantly share code, notes, and snippets.

@derinbay
Created June 25, 2018 14:28
Show Gist options
  • Save derinbay/ebe8192891950f7edc355de5b8e16030 to your computer and use it in GitHub Desktop.
Save derinbay/ebe8192891950f7edc355de5b8e16030 to your computer and use it in GitHub Desktop.
version: "3.6"
services:
seleniumhub:
image: selenium/hub:3.11.0-dysprosium
container_name: selenium-hub
ports:
- 4444:4444
environment:
- GRID_TIMEOUT=720
- GRID_BROWSER_TIMEOUT=360
- TZ=Europe/Istanbul
- LANGUAGE=en_US:en
- LANG=en_US.UTF-8
chromenode:
image: selenium/node-chrome:3.11.0-dysprosium
volumes:
- /dev/shm:/dev/shm
dns:
- 172.xx.xxx.xxx
- 172.xx.xxx.xxx
dns_search:
- n11.local
entrypoint: >
bash -c '
SE_OPTS="-timeout 720 -browserTimeout 360" /opt/bin/entry_point.sh'
environment:
- HUB_HOST=selenium-hub
- HUB_PORT=4444
- TZ=Europe/Istanbul
- LANGUAGE=en_US:en
- LANG=en_US.UTF-8
extra_hosts:
- "abtest2.akbank.com:172.xx.xxx.xxx"
- "apigateuat2.akbank.com:172.xx.xxx.xxx"
firefoxnode:
image: selenium/node-firefox:3.11.0-dysprosium
volumes:
- /dev/shm:/dev/shm
dns:
- 172.xx.xxx.xxx
- 172.xx.xxx.xxx
dns_search:
- n11.local
entrypoint: >
bash -c '
SE_OPTS="-timeout 720 -browserTimeout 360" /opt/bin/entry_point.sh'
environment:
- HUB_HOST=selenium-hub
- HUB_PORT=4444
- TZ=Europe/Istanbul
- LANGUAGE=en_US:en
- LANG=en_US.UTF-8
extra_hosts:
- "abtest2.akbank.com:172.xx.xxx.xxx"
- "apigateuat2.akbank.com:172.xx.xxx.xxx"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment