-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-zalenium.yml
50 lines (50 loc) · 1.21 KB
/
docker-compose-zalenium.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
40
41
42
43
44
45
46
47
48
49
50
version: "3"
services:
zalenium:
image: "dosel/zalenium"
restart: always
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:
- 4444:4444
command: >
start --desiredContainers 2
--maxDockerSeleniumContainers 8
--screenWidth 800
--screenHeight 600
--timeZone "Europe/Berlin"
--videoRecordingEnabled true
--sauceLabsEnabled false
--browserStackEnabled false
--testingBotEnabled false
--cbtEnabled false
--lambdaTestEnabled 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
- LT_USERNAME
- LT_ACCESS_KEY
mock:
image: elgalu/selenium
restart: always
depends_on:
- zalenium
ports:
- 8080:8080
tty: true
environment:
- MOCK_SERVER_PORT=8080