Skip to content

Instantly share code, notes, and snippets.

@tuliobluz
Last active November 24, 2020 06:57
Show Gist options
  • Save tuliobluz/32924b00e5a3e6cfa264e65c97aa9c9f to your computer and use it in GitHub Desktop.
Save tuliobluz/32924b00e5a3e6cfa264e65c97aa9c9f to your computer and use it in GitHub Desktop.
# 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