Created
October 15, 2018 12:03
-
-
Save svschannak/c6eaedae50217ea363d2da2ff99e23e1 to your computer and use it in GitHub Desktop.
Zalenium on Mac OS
This file contains 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
# Usage: | |
# docker-compose up --force-recreate | |
version: "2.1" | |
services: | |
#--------------# | |
zalenium: | |
image: "dosel/zalenium" | |
container_name: zalenium | |
hostname: zalenium | |
tty: true | |
volumes: | |
- /tmp/videos:/home/seluser/videos | |
- /var/run/docker.sock:/var/run/docker.sock | |
ports: | |
- 4444:4444 | |
command: > | |
start --desiredContainers 2 | |
--maxDockerSeleniumContainers 8 | |
--screenWidth 1024 --screenHeight 768 | |
--timeZone "Europe/Berlin" | |
--videoRecordingEnabled true | |
--sauceLabsEnabled false | |
--browserStackEnabled false | |
--testingBotEnabled false | |
--startTunnel false | |
environment: | |
- HOST_UID | |
- HOST_GID | |
- SAUCE_USERNAME | |
- SAUCE_ACCESS_KEY | |
- BROWSER_STACK_USER | |
- BROWSER_STACK_KEY | |
- TESTINGBOT_KEY | |
- TESTINGBOT_SECRET |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment