32 lines
684 B
YAML
32 lines
684 B
YAML
|
# 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:
|
||
|
image: geny
|
||
|
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
|