forked from blueimp/wdio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
71 lines (71 loc) · 1.46 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
version: '3.7'
services:
mailhog:
image: blueimp/mailhog
read_only: true
ports:
- 127.0.0.1:8025:8025
example:
build: ./src
read_only: true
tmpfs: /tmp
environment:
- SMTP_HOST=mailhog:1025
volumes:
- ./src/html:/srv/html:ro
ports:
- 127.0.0.1:8080:8080
- ${SERVER_HOST:-127.0.0.1}:${SERVER_PORT-}:8080
depends_on:
- mailhog
chromedriver:
image: blueimp/chromedriver
init: true
tmpfs: /tmp
environment:
- DISABLE_X11=false
- ENABLE_VNC=true
- EXPOSE_X11=true
volumes:
- ./assets:/home/webdriver/assets:ro
ports:
- 127.0.0.1:5900:5900
geckodriver:
image: blueimp/geckodriver
init: true
tmpfs: /tmp
shm_size: 2g
environment:
- DISABLE_X11=false
- ENABLE_VNC=true
- EXPOSE_X11=true
volumes:
- ./assets:/home/webdriver/assets:ro
ports:
- 127.0.0.1:5901:5900
wdio:
image: blueimp/wdio
init: true
read_only: true
tmpfs:
- /tmp
- /home/wdio/.android
environment:
- WAIT_FOR_HOSTS=
chromedriver:4444
geckodriver:4444
example:8080
- WINDOWS_HOST
- ANDROID_SERIAL
- PLATFORM_VERSION
- DEVICE_NAME
- ORIENTATION
- MACOS_ASSETS_DIR=$PWD/assets/
- WINDOWS_ASSETS_DIR
volumes:
- .:/opt:ro
- ./reports:/opt/reports
depends_on:
- chromedriver
- geckodriver
- example