-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
58 lines (54 loc) · 1.13 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
version: '2'
services:
hub:
image: selenium/hub:3.14.0-curium
container_name: hub
ports:
- "4444:4444"
firefox:
image: selenium/node-firefox-debug:3.141
volumes:
- /dev/shm:/dev/shm
depends_on:
- hub
environment:
HUB_HOST: hub
chrome:
image: selenium/node-chrome-debug:3.141
volumes:
- /dev/shm:/dev/shm
depends_on:
- hub
environment:
HUB_HOST: hub
# Using Appium Docker Android
real_device:
image: appium/appium
depends_on:
- hub
privileged: true
network_mode: "service:hub"
volumes:
- /dev/bus/usb:/dev/bus/usb
- ~/.android:/root/.android
environment:
- CONNECT_TO_GRID=true
- SELENIUM_HOST=hub
#- BROWSER_NAME=chrome
appium_android_device:
image: budtmo/docker-android-x86-8.1
privileged: true
depends_on:
- hub
- real_device
ports:
- 6080
volumes:
- ~/tmpVideo:/tmp/video
environment:
- DEVICE=Samsung Galaxy S6
- APPIUM=true
- CONNECT_TO_GRID=true
- SELENIUM_HOST=hub
- MOBILE_WEB_TEST=true
- AUTO_RECORD=true