Last active
November 24, 2020 06:57
-
-
Save tuliobluz/32924b00e5a3e6cfa264e65c97aa9c9f 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
# Usage: | |
# docker-compose up --force-recreate | |
version: '2.1' | |
services: | |
#--------------# | |
zalenium: | |
image: "dosel/zalenium" | |
container_name: zalenium | |
hostname: zalenium | |
tty: true | |
volumes: | |
- /Users/tluz/Desktop/videos:/home/seluser/videos | |
- /var/run/docker.sock:/var/run/docker.sock | |
- /Users/tluz/Documents/protractor-zalenium/.htpasswd:/home/seluser/.htpasswd | |
ports: | |
- 4444:4444 | |
command: > | |
start --desiredContainers 2 | |
--maxDockerSeleniumContainers 8 | |
--screenWidth 1360 --screenHeight 1024 | |
--timeZone "America/Sao_Paulo" | |
--videoRecordingEnabled true | |
--keepOnlyFailedTests true | |
environment: | |
- HOST_UID | |
- HOST_GID |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment