-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
34 lines (34 loc) · 1.03 KB
/
docker-compose.yaml
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
services:
appium:
image: appium/appium:latest
container_name: appium-android
ports:
- "4723:4723"
- "8090:8090"
environment:
REMOTE_ADB: true
ANDROID_DEVICES: $ANDROID_DEVICES
REMOTE_ADB_POLLING_SEC: 10
APPIUM_ADDITIONAL_PARAMS: --relaxed-security --allow-insecure chromedriver_autodownload --allow-insecure adb_shell
volumes:
- ${PWD}/build:/${PWD}/build
# ADB context from host
- ~/.android:/root/.android
privileged: true
devices:
- /dev/bus/usb:/dev/bus/usb
cpus: 1
mem_limit: 2048m
allure:
image: sokari/allure-docker-deploy
container_name: deploy-service
environment:
- GOOGLE_APPLICATION_CREDENTIALS=/credentials/gcp-key.json
- STORAGE_BUCKET=gatedaccessdev.appspot.com
- WEBSITE_ID=example-site
- WEBSITE_EXPIRES=1h
- KEEP_RETRIES=false
- KEEP_HISTORY=true
volumes:
- ${PWD}/reports/android/allure-results:/allure-results
- ${PWD}/service-account-sokari.json:/credentials/gcp-key.json