forked from budtmo/docker-android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgeny.yml
executable file
·42 lines (39 loc) · 1.02 KB
/
geny.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# 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.14.0-curium
ports:
- 4444:4444
# Please stop this container by using docker stop instead of docker-compose stop
saas:
image: budtmo/docker-android-genymotion
depends_on:
- selenium_hub
privileged: true
volumes:
- $PWD/sample_apk:/root/tmp/sample_apk
- $PWD/sample_devices:/root/tmp
environment:
- TYPE=SaaS
- TEMPLATE=/root/tmp/devices.json
- USER=$USER
- PASS=$PASS
- CONNECT_TO_GRID=true
# Please stop this container by using docker stop instead of docker-compose stop
aws:
image: budtmo/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
- CONNECT_TO_GRID=true