-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun-player.yml
96 lines (94 loc) · 2.33 KB
/
run-player.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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
version: "2"
services:
xorg:
container_name: "${AIC_AVM_PREFIX}xorg"
restart: unless-stopped
image: aic.xorg
ports:
- 5900
environment:
- AIC_PLAYER_VNC_SECRET
ffserver:
container_name: "${AIC_AVM_PREFIX}ffserver"
restart: unless-stopped
image: aic.ffserver
adb:
container_name: "${AIC_AVM_PREFIX}adb"
restart: unless-stopped
image: aic.adb
volumes_from:
- container:${AIC_PROJECT_PREFIX}prjdata:ro
environment:
- AIC_PLAYER_VM_HOST
sdl:
container_name: "${AIC_AVM_PREFIX}sdl"
restart: unless-stopped
image: aic.sdl
volumes_from:
- avmdata
# command: tail -f /dev/null
environment:
- AIC_PLAYER_AMQP_HOST
- AIC_PLAYER_AMQP_USERNAME
- AIC_PLAYER_AMQP_PASSWORD
- AIC_PLAYER_VM_ID
- AIC_PLAYER_VM_HOST
- AIC_PLAYER_WIDTH
- AIC_PLAYER_HEIGHT
- AIC_PLAYER_DPI
- AIC_PLAYER_ENABLE_RECORD
- AIC_PLAYER_ANDROID_VERSION
- AIC_PLAYER_PATH_RECORD
# to be able to strace
privileged: false
depends_on:
- xorg
audio:
# command: tail -f /dev/null
container_name: "${AIC_AVM_PREFIX}audio"
restart: unless-stopped
image: aic.audio
environment:
- AIC_PLAYER_VM_HOST
depends_on:
- ffserver
sensors:
# command: tail -f /dev/null
container_name: "${AIC_AVM_PREFIX}sensors"
restart: unless-stopped
image: aic.sensors
environment:
- AIC_PLAYER_AMQP_HOST
- AIC_PLAYER_AMQP_USERNAME
- AIC_PLAYER_AMQP_PASSWORD
- AIC_PLAYER_VM_HOST
- AIC_PLAYER_VM_ID
- AIC_PLAYER_ENABLE_SENSORS
- AIC_PLAYER_ENABLE_BATTERY
- AIC_PLAYER_ENABLE_GPS
- AIC_PLAYER_ENABLE_GSM
- AIC_PLAYER_ENABLE_NFC
camera:
# command: tail -f /dev/null
container_name: "${AIC_AVM_PREFIX}camera"
restart: unless-stopped
image: aic.camera
environment:
- AIC_PLAYER_AMQP_HOST
- AIC_PLAYER_AMQP_USERNAME
- AIC_PLAYER_AMQP_PASSWORD
- AIC_PLAYER_VM_HOST
- AIC_PLAYER_VM_ID
volumes_from:
- container:${AIC_PROJECT_PREFIX}prjdata:ro
avmdata:
container_name: "${AIC_AVM_PREFIX}avmdata"
restart: unless-stopped
image: aic.avmdata
volumes:
- /data/avm
networks: []
networks:
default:
driver_opts:
com.docker.network.driver.mtu: 1400