mirror of
https://github.com/budtmo/docker-android.git
synced 2026-07-30 11:12:16 +00:00
Set default browser, mobile web test parameter and docker compose example
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
[docker-compose.yml](/example/compose/docker-compose.yml) file for setting up selenium grid.
|
||||
-----------------------------------------------------
|
||||
|
||||
Example compose file which can be used to set up selenium grid hub with emulator nodes connected to it
|
||||

|
||||
|
||||
Requirements
|
||||
============
|
||||
docker-compose
|
||||
for `scale:` option docker-compose v1.13.0 and newer is required
|
||||
|
||||
Quick Start
|
||||
===========
|
||||
```bash
|
||||
docker-compose up
|
||||
```
|
||||
@@ -0,0 +1,31 @@
|
||||
version: "2.2"
|
||||
services:
|
||||
hub:
|
||||
image: selenium/hub:3.4.0
|
||||
ports:
|
||||
- "4444:4444"
|
||||
|
||||
node_samsung_7.1.1:
|
||||
image: butomo1989/docker-android-x86-7.1.1
|
||||
privileged: true
|
||||
scale: 2
|
||||
ports:
|
||||
- 6080
|
||||
environment:
|
||||
- DEVICE=Samsung Galaxy S6
|
||||
- CONNECT_TO_GRID=True
|
||||
- APPIUM=true
|
||||
- SELENIUM_HOST=hub
|
||||
|
||||
node_nexus_web_7.1.1:
|
||||
image: butomo1989/docker-android-x86-7.1.1
|
||||
privileged: true
|
||||
scale: 2
|
||||
ports:
|
||||
- 6080
|
||||
environment:
|
||||
- DEVICE=Nexus 5
|
||||
- CONNECT_TO_GRID=True
|
||||
- APPIUM=true
|
||||
- SELENIUM_HOST=hub
|
||||
- MOBILE_WEB_TEST=True
|
||||
Reference in New Issue
Block a user