Skip to content

Instantly share code, notes, and snippets.

@diemol
Last active February 1, 2018 19:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save diemol/c7e45a362bbb6463f882854733e4a661 to your computer and use it in GitHub Desktop.
Save diemol/c7e45a362bbb6463f882854733e4a661 to your computer and use it in GitHub Desktop.
version: '2.2'
services:
zalenium:
image: "dosel/zalenium"
container_name: zalenium
hostname: zalenium
tty: true
privileged: true
volumes:
- /tmp/videos:/home/seluser/videos
- /var/run/docker.sock:/var/run/docker.sock
- /usr/bin/docker:/usr/bin/docker
ports:
- 8899:4444
command: >
start --desiredContainers 0
--maxTestSessions 2
--maxDockerSeleniumContainers 15
--screenWidth 1600
--screenHeight 900
--timeZone "Asia/Tehran"
--videoRecordingEnabled true
--sauceLabsEnabled false
--browserStackEnabled false
--testingBotEnabled false
--startTunnel false
--keepOnlyFailedTests true
--debugEnabled true
environment:
- HOST_UID
- HOST_GID
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment