Skip to content

Instantly share code, notes, and snippets.

@svschannak
Created October 15, 2018 12:03
Show Gist options
  • Save svschannak/c6eaedae50217ea363d2da2ff99e23e1 to your computer and use it in GitHub Desktop.
Save svschannak/c6eaedae50217ea363d2da2ff99e23e1 to your computer and use it in GitHub Desktop.
Zalenium on Mac OS
# 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