docker-android/geny.yml

32 lines
716 B
YAML
Raw Normal View History

2018-05-29 23:54:06 +01:00
# Note: It requires docker-compose 1.13.0
#
# Usage: docker-compose up -d
version: "2.2"
services:
# Selenium hub
selenium_hub:
image: selenium/hub:3.12.0-americium
ports:
- 4444:4444
# Please stop this container by using docker stop instead of docker-compose stop
genymotion:
2018-05-29 23:57:21 +01:00
image: butomo1989/docker-android-genymotion
2018-05-29 23:54:06 +01:00
depends_on:
- selenium_hub
privileged: true
ports:
- 6080:6080
- 4723:4723
volumes:
- $PWD/example/sample_apk:/opt
- $PWD/genymotion/sample:/root/tmp
environment:
- GENY_TEMPLATE=/root/tmp/devices.json
- USER=xxx
- PASS=xxx
- LICENSE=xxx
- CONNECT_TO_GRID=True
- APPIUM=true