Skip to content

Commit ad3624f

Browse files
budtmoSrinivasanTarget
authored andcommitted
Update docker-compose file (#70)
* Shared Android identification key in docker-compose file * Updated version of docker-selenium hub * Added comment how to enable appium-docker-android for mobile website testing
1 parent 92e4e57 commit ad3624f

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

docker-compose.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,22 @@ version: '2'
66
services:
77
# Selenium hub
88
selenium_hub:
9-
image: selenium/hub:3.4.0
9+
image: selenium/hub:3.7.1
1010
ports:
1111
- 4444:4444
1212

13-
# Appium Docker Android
14-
appium_devices:
13+
# Appium Docker Android
14+
appium_android_device:
1515
image: appium/appium
1616
depends_on:
1717
- selenium_hub
1818
network_mode: "service:selenium_hub"
1919
privileged: true
2020
volumes:
2121
- /dev/bus/usb:/dev/bus/usb
22+
- ~/.android:/root/.android
2223
environment:
2324
- CONNECT_TO_GRID=True
2425
- SELENIUM_HOST=selenium_hub
26+
# Enable it for msite testing
27+
#- BROWSER_NAME=chrome

0 commit comments

Comments
 (0)