-
Notifications
You must be signed in to change notification settings - Fork 8
/
docker-compose.yml
173 lines (167 loc) · 4.58 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
version: "3.7"
services:
harmoni_full:
container_name: harmoni_full
build:
context: .
dockerfile: dockerfiles/harmoni/$ROS_DISTRO/full/dockerfile
network: host
image: harmoniteam/harmoni:$ROS_DISTRO-full
init: true
environment:
DISPLAY: $DISPLAY
QT_GRAPHICSSYSTEM: native
ROS_DISTRO: $ROS_DISTRO
ROS_MASTER_URI: http://172.18.3.4:11311
IS_DOCKER_ENV: "true"
ROS_HOSTNAME: harmoni_full
CATKIN_WS: harmoni_catkin_ws
privileged: true
networks:
ros_net:
ipv4_address: 172.18.3.4
hostname: harmoni_full
ports:
- "11312:11312"
- "33691:33691"
- "8081:8081"
devices:
- /dev/dri:/dev/dri
- /dev/snd:/dev/snd
- /dev/video0:/dev/video0
volumes:
- ../HARMONI/:/root/local_mount/HARMONI/
# Configuration
- ~/.aws:/root/.aws/
- ~/.gcp/private-keys.json:/root/.gcp/private-keys.json
# Other
- /tmp/.X11-unix:/tmp/.X11-unix
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
working_dir: /root/harmoni_catkin_ws/src/HARMONI
command: tail -f /dev/null
harmoni_w2l:
container_name: harmoni_w2l
build:
context: .
dockerfile: dockerfiles/harmoni/kinetic/w2l/dockerfile
network: host
image: harmoniteam/harmoni:kinetic-w2l
init: true
environment:
DISPLAY: $DISPLAY
QT_GRAPHICSSYSTEM: native
ROS_DISTRO: kinetic
IS_DOCKER_ENV: "true"
CATKIN_WS: harmoni_catkin_ws
ROS_HOSTNAME: harmoni_w2l
ROS_MASTER_URI: http://172.18.3.4:11311
depends_on:
- "harmoni_full"
privileged: true
# network_mode: host
networks:
ros_net:
ipv4_address: 172.18.3.3
hostname: harmoni_w2l
ports:
- "1022:22"
devices:
- /dev/dri:/dev/dri
- /dev/snd:/dev/snd
volumes:
- ../HARMONI/:/root/local_mount/HARMONI/
# Configuration
- ~/.aws:/root/.aws/
- ~/.gcp/private-keys.json:/root/.gcp/private-keys.json
# Other
- /tmp/.X11-unix:/tmp/.X11-unix
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
working_dir: /root/harmoni_catkin_ws/src/HARMONI
command: tail -f /dev/null
harmoni_face_detector:
container_name: harmoni_face_detector
build:
context: .
dockerfile: dockerfiles/harmoni/$ROS_DISTRO/face_detect/dockerfile
network: host
image: harmoniteam/harmoni:$ROS_DISTRO-face_detect
init: true
environment:
DISPLAY: $DISPLAY
QT_GRAPHICSSYSTEM: native
ROS_DISTRO: $ROS_DISTRO
IS_DOCKER_ENV: "true"
CATKIN_WS: harmoni_catkin_ws
ROS_HOSTNAME: harmoni_face_detector
ROS_MASTER_URI: http://172.18.3.4:11311
privileged: true
networks:
ros_net:
ipv4_address: 172.18.3.2
hostname: harmoni_face_detector
depends_on:
- "harmoni_full"
- "harmoni_hardware"
devices:
- /dev/dri:/dev/dri
- /dev/video0:/dev/video0
volumes:
- ../HARMONI/:/root/local_mount/HARMONI/
# Configuration
- ~/.aws:/root/.aws/
- ~/.gcp/private-keys.json:/root/.gcp/private-keys.json
# Other
- /tmp/.X11-unix:/tmp/.X11-unix
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
working_dir: /root/harmoni_catkin_ws/src/HARMONI
command: tail -f /dev/null
harmoni_hardware:
container_name: harmoni_hardware
build:
context: .
dockerfile: dockerfiles/harmoni/$ROS_DISTRO/full/dockerfile
network: host
image: harmoniteam/harmoni:$ROS_DISTRO-full
init: true
environment:
DISPLAY: $DISPLAY
QT_GRAPHICSSYSTEM: native
ROS_DISTRO: $ROS_DISTRO
IS_DOCKER_ENV: "true"
CATKIN_WS: harmoni_catkin_ws
ROS_HOSTNAME: harmoni_hardware
ROS_MASTER_URI: http://172.18.3.4:11311
privileged: true
networks:
ros_net:
ipv4_address: 172.18.3.5
hostname: ros_hardware
depends_on:
- "harmoni_full"
devices:
- /dev/dri:/dev/dri
- /dev/snd:/dev/snd
- /dev/video0:/dev/video0
volumes:
- ../HARMONI/:/root/local_mount/HARMONI/
# Configuration
- ~/.aws:/root/.aws/
- ~/.gcp/private-keys.json:/root/.gcp/private-keys.json
# Other
- /tmp/.X11-unix:/tmp/.X11-unix
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
working_dir: /root/harmoni_catkin_ws/src/HARMONI
command: tail -f /dev/null
networks:
ros_net:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.18.3.0/24
volumes:
wav2letter: