-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
72 lines (67 loc) · 1.47 KB
/
docker-compose.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
version: '3.7'
networks:
default:
name: mcloud
services:
connector:
image: "${ANDROID_CONNECTOR_IMAGE}:${ANDROID_CONNECTOR_VERSION}"
container_name: "connector"
env_file:
- connector.env
volumes:
- "device-volume:/tmp/log"
links:
- "redroid:redroid"
restart: on-failure
appium:
image: "${APPIUM_IMAGE}:${APPIUM_VERSION}"
container_name: "appium"
ports:
- "4723:4723"
env_file:
- appium.env
volumes:
- "appium-storage-volume:/opt/appium-storage"
- "device-volume:/tmp/log"
links:
- "connector:connector"
restart: on-failure
uploader:
image: "${UPLOADER_IMAGE}:${UPLOADER_VERSION}"
container_name: "uploader"
env_file:
- s3.env
volumes:
- "device-volume:/tmp/log"
restart: on-failure
stf:
image: "${DEVICE_IMAGE}:${DEVICE_VERSION}"
container_name: "device"
ports:
- "7400-7410:7400-7410"
env_file:
- stf.env
deploy:
resources:
limits:
memory: 1g
logging:
options:
max-size: 50m
links:
- "connector:connector"
restart: on-failure
redroid:
image: "${REDROID_IMAGE}:${REDROID_VERSION}"
container_name: "redroid"
ports:
- "5555:5555"
privileged: true
command: "androidboot.use_memfd=1"
volumes:
- "redroid-volume:/tmp/log"
restart: on-failure
volumes:
appium-storage-volume: null
device-volume: null
redroid-volume: null