mirror of
https://github.com/budtmo/docker-android.git
synced 2026-07-29 19:00:34 +00:00
Added integration with Genymotion in AWS
This commit is contained in:
@@ -11,10 +11,11 @@ services:
|
||||
- 4444:4444
|
||||
|
||||
# Please stop this container by using docker stop instead of docker-compose stop
|
||||
genymotion:
|
||||
cloud:
|
||||
image: butomo1989/docker-android-genymotion
|
||||
depends_on:
|
||||
- selenium_hub
|
||||
privileged: true
|
||||
ports:
|
||||
- 6080:6080
|
||||
- 4723:4723
|
||||
@@ -22,8 +23,28 @@ services:
|
||||
- $PWD/sample_apk:/root/tmp/sample_apk
|
||||
- $PWD/sample_devices:/root/tmp
|
||||
environment:
|
||||
- GENY_TEMPLATE=/root/tmp/devices.json
|
||||
- USER=xxx
|
||||
- PASS=xxx
|
||||
- LICENSE=xxx
|
||||
- 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
|
||||
#TODO - CONNECT_TO_GRID=true
|
||||
|
||||
Executable
+12
@@ -0,0 +1,12 @@
|
||||
[
|
||||
{
|
||||
"region": "eu-west-1",
|
||||
"ami": "ami-861125ff",
|
||||
"instance": "t2.small"
|
||||
},
|
||||
{
|
||||
"region": "eu-west-1",
|
||||
"ami": "ami-861125ff",
|
||||
"instance": "t2.small"
|
||||
}
|
||||
]
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
(export USER=$USER && export PASS=$PASS && export LICENSE=$LICENSE && docker-compose -f geny.yml up -d)
|
||||
Reference in New Issue
Block a user