Created
April 9, 2019 14:00
-
-
Save memoryleak/9e6793e5b8bdef2610fd0510a6fe356a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
version: '3.7' | |
services: | |
hub: | |
image: selenium/hub:3.141.59-mercury | |
ports: | |
- "4444:4444" | |
chrome: | |
image: selenium/node-chrome:3.141.59-mercury | |
volumes: | |
- /dev/shm:/dev/shm | |
environment: | |
HUB_HOST: hub | |
HUB_PORT: 4444 | |
SCREEN_WIDTH: 2560 | |
SCREEN_HEIGHT: 1440 | |
SCREEN_DEPTH: 24 | |
NODE_MAX_INSTANCES: 1 | |
NODE_MAX_SESSION: 1 | |
deploy: | |
replicas: 10 | |
entrypoint: bash -c 'SE_OPTS="-host $$HOSTNAME" /opt/bin/entry_point.sh' | |
firefox: | |
image: selenium/node-firefox:3.141.59-mercury | |
volumes: | |
- /dev/shm:/dev/shm | |
environment: | |
HUB_HOST: hub | |
HUB_PORT: 4444 | |
SCREEN_WIDTH: 2560 | |
SCREEN_HEIGHT: 1440 | |
SCREEN_DEPTH: 24 | |
NODE_MAX_INSTANCES: 1 | |
NODE_MAX_SESSION: 1 | |
deploy: | |
replicas: 10 | |
entrypoint: bash -c 'SE_OPTS="-host $$HOSTNAME" /opt/bin/entry_point.sh' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment