Merge branch 'master' into patch-2
This commit is contained in:
commit
9d0c66fb2b
|
@ -303,7 +303,7 @@ Special Thanks
|
||||||
[emulator nexus]: <images/emulator_nexus_5.png>
|
[emulator nexus]: <images/emulator_nexus_5.png>
|
||||||
[real device]: <images/real_device.png>
|
[real device]: <images/real_device.png>
|
||||||
[compose]: <images/compose.png>
|
[compose]: <images/compose.png>
|
||||||
[line]: <https://github.com/butomo1989/docker-android/blob/master/docker-compose.yml#L29>
|
[line]: <https://github.com/butomo1989/docker-android/blob/master/docker-compose.yml#L70>
|
||||||
[example of compose file]: <docker-compose.yml>
|
[example of compose file]: <docker-compose.yml>
|
||||||
[docker-compose]: <https://docs.docker.com/compose/install/>
|
[docker-compose]: <https://docs.docker.com/compose/install/>
|
||||||
[1.13.0]: <https://github.com/docker/compose/releases/tag/1.13.0>
|
[1.13.0]: <https://github.com/docker/compose/releases/tag/1.13.0>
|
||||||
|
|
|
@ -6,28 +6,46 @@ version: "2.2"
|
||||||
services:
|
services:
|
||||||
# Selenium hub
|
# Selenium hub
|
||||||
selenium_hub:
|
selenium_hub:
|
||||||
image: selenium/hub:3.7.1
|
image: selenium/hub:3.11.0-bismuth
|
||||||
ports:
|
ports:
|
||||||
- "4444:4444"
|
- "4444:4444"
|
||||||
|
|
||||||
|
# There is a bug for using appium. Issue: https://github.com/butomo1989/docker-android/issues/73
|
||||||
# Real devices
|
# Real devices
|
||||||
|
#real_device:
|
||||||
|
# image: butomo1989/docker-android-real-device
|
||||||
|
# privileged: true
|
||||||
|
# depends_on:
|
||||||
|
# - selenium_hub
|
||||||
|
# ports:
|
||||||
|
# - 6080:6080
|
||||||
|
# volumes:
|
||||||
|
# - ./video-real-device:/tmp/video
|
||||||
|
# - /dev/bus/usb:/dev/bus/usb
|
||||||
|
# - ~/.android:/root/.android
|
||||||
|
# environment:
|
||||||
|
# - CONNECT_TO_GRID=True
|
||||||
|
# - APPIUM=true
|
||||||
|
# - SELENIUM_HOST=selenium_hub
|
||||||
|
# - AUTO_RECORD=True
|
||||||
|
# - BROWSER_NAME=chrome
|
||||||
|
|
||||||
|
# Using Appium Docker Android
|
||||||
real_device:
|
real_device:
|
||||||
image: butomo1989/docker-android-real-device
|
image: appium/appium
|
||||||
privileged: true
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- selenium_hub
|
- selenium_hub
|
||||||
ports:
|
network_mode: "service:selenium_hub"
|
||||||
- 6080:6080
|
privileged: true
|
||||||
volumes:
|
volumes:
|
||||||
- ./video-real-device:/tmp/video
|
|
||||||
- /dev/bus/usb:/dev/bus/usb
|
- /dev/bus/usb:/dev/bus/usb
|
||||||
- ~/.android:/root/.android
|
- ~/.android:/root/.android
|
||||||
|
- $PWD/example/sample_apk:/root/tmp
|
||||||
environment:
|
environment:
|
||||||
- CONNECT_TO_GRID=True
|
- CONNECT_TO_GRID=True
|
||||||
- APPIUM=true
|
|
||||||
- SELENIUM_HOST=selenium_hub
|
- SELENIUM_HOST=selenium_hub
|
||||||
- AUTO_RECORD=True
|
# Enable it for msite testing
|
||||||
- BROWSER_NAME=chrome
|
#- BROWSER_NAME=chrome
|
||||||
|
|
||||||
# Docker-Android for Android application testing
|
# Docker-Android for Android application testing
|
||||||
nexus_7.1.1:
|
nexus_7.1.1:
|
||||||
|
|
Loading…
Reference in a new issue