docker-android/genymotion/example/geny.yml
2018-08-30 13:35:03 +02:00

51 lines
1.2 KiB
YAML
Executable file

# 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
cloud:
image: butomo1989/docker-android-genymotion
depends_on:
- selenium_hub
privileged: true
ports:
- 6080:6080
- 4723:4723
volumes:
- $PWD/sample_apk:/root/tmp/sample_apk
- $PWD/sample_devices:/root/tmp
environment:
- TYPE=genycloud
- TEMPLATE=/root/tmp/devices.json
- USER=$USER
- PASS=$PASS
- LICENSE=$LICENSE
- CONNECT_TO_GRID=true
# Please stop this container by using docker stop instead of docker-compose stop
# The implementation still in progress
aws:
image: butomo1989/docker-android-genymotion
depends_on:
- selenium_hub
privileged: true
ports:
- 6080:6080
- 4723:4723
volumes:
- ~/.aws:/root/.aws
- $PWD/sample_apk:/root/tmp/sample_apk
- $PWD/sample_devices:/root/tmp
environment:
- TYPE=aws
- TEMPLATE=/root/tmp/aws.json
- CONNECT_TO_GRID=true