forked from emilianmelian/zalenium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
39 lines (38 loc) · 984 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Usage:
# docker-compose up --force-recreate
version: '2.1'
services:
#--------------#
selenium:
image: "elgalu/selenium"
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
- /usr/bin/docker:/usr/bin/docker
ports:
- 82:4444
command: >
start --chromeContainers 1
--firefoxContainers 0
--maxDockerSeleniumContainers 20
--screenWidth 1024 --screenHeight 768
--timeZone "Europe/Berlin"
--videoRecordingEnabled true
--sauceLabsEnabled false
--browserStackEnabled false
--testingBotEnabled false
--startTunnel false
mock:
image: elgalu/google_adwords_mock
depends_on:
- zalenium
ports:
- 8081:8081
tty: true
environment:
- MOCK_SERVER_PORT=8081