Skip to content

Instantly share code, notes, and snippets.

@rplevka
Last active July 11, 2019 22:30
Show Gist options
  • Save rplevka/74bd25f12661a9f028aa71ae627c7569 to your computer and use it in GitHub Desktop.
Save rplevka/74bd25f12661a9f028aa71ae627c7569 to your computer and use it in GitHub Desktop.
Zalenium compose file
# Usage:
# docker-compose up --force-recreate
version: '2.1'
networks:
default:
driver: bridge
driver_opts:
com.docker.network.driver.mtu: 1300
services:
#--------------#
zalenium:
image: "dosel/zalenium"
container_name: zalenium
hostname: zalenium
tty: true
volumes:
- /var/run/docker.sock:/var/run/docker.sock
ports:
- 4444:4444
command: >
start --desiredContainers 6
--maxDockerSeleniumContainers 12
--maxTestSessions 8
--screenWidth 800 --screenHeight 600
--timeZone "Europe/Berlin"
--videoRecordingEnabled false
--keepOnlyFailedTests true
--sauceLabsEnabled false
--browserStackEnabled false
--testingBotEnabled false
--cbtEnabled false
--startTunnel false
environment:
- HOST_UID
- HOST_GID
- SAUCE_USERNAME
- SAUCE_ACCESS_KEY
- BROWSER_STACK_USER
- BROWSER_STACK_KEY
- TESTINGBOT_KEY
- TESTINGBOT_SECRET
- CBT_USERNAME
- CBT_AUTHKEY
mock:
image: elgalu/google_adwords_mock
depends_on:
- zalenium
ports:
- 8080:8080
tty: true
environment:
- MOCK_SERVER_PORT=8080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment