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
|
2018-08-11 18:38:47 +01:00
|
|
|
cloud:
|
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
|
2018-08-11 18:38:47 +01:00
|
|
|
privileged: true
|
2018-05-29 23:54:06 +01:00
|
|
|
volumes:
|
2018-06-27 23:47:49 +01:00
|
|
|
- $PWD/sample_apk:/root/tmp/sample_apk
|
2018-06-12 00:05:35 +01:00
|
|
|
- $PWD/sample_devices:/root/tmp
|
2018-05-29 23:54:06 +01:00
|
|
|
environment:
|
2018-08-11 18:38:47 +01:00
|
|
|
- TYPE=genycloud
|
|
|
|
- TEMPLATE=/root/tmp/devices.json
|
|
|
|
- USER=$USER
|
|
|
|
- PASS=$PASS
|
|
|
|
- LICENSE=$LICENSE
|
2018-06-21 23:34:43 +01:00
|
|
|
- CONNECT_TO_GRID=true
|
2018-08-11 18:38:47 +01:00
|
|
|
|
|
|
|
# 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
|
|
|
|
volumes:
|
|
|
|
- ~/.aws:/root/.aws
|
|
|
|
- $PWD/sample_apk:/root/tmp/sample_apk
|
|
|
|
- $PWD/sample_devices:/root/tmp
|
|
|
|
environment:
|
|
|
|
- TYPE=aws
|
|
|
|
- TEMPLATE=/root/tmp/aws.json
|
2018-08-30 12:35:03 +01:00
|
|
|
- CONNECT_TO_GRID=true
|