forked from argenos/fleet_management
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
184 lines (167 loc) · 4.68 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
174
175
176
177
178
179
180
181
182
183
184
version: "2"
services:
mongo:
container_name: mongo
image: mongo:4.0-xenial
volumes:
- /data/db:/data/db
ports:
- "27017:27017"
network_mode: "host"
roscore:
container_name: roscore
image: ros:kinetic-ros-core
command: ["roscore"]
network_mode: "host"
ports:
- "11311:11311"
osm:
container_name: osm-brsu
image: git.ropod.org:4567/ropod/wm/docker-overpass-api:brsu
ports:
- "8000:80"
amk:
container_name: osm-amk
image: git.ropod.org:4567/ropod/wm/docker-overpass-api:amk
ports:
- "8000:80"
elevator:
image: git.ropod.org:4567/ropod/infrastructure/ropod-elevator:latest
restart: on-failure
container_name: ropod-elevator
volumes:
- /var/logs/ropod-elevator:/opt/ropod/ropod-elevator/logger
- /tmp:/tmp/
network_mode: "host"
working_dir: /opt/ropod/ropod-elevator/bin/
command: ["./ropod_elevator", "/opt/ropod/ropod-elevator/examples/config/config_ropod_elevator_sim.json"]
depends_on:
- elevator_simulator
elevator_simulator:
image: git.ropod.org:4567/ropod/infrastructure/ropod-elevator:simulator
container_name: simulated-elevator
network_mode: "host"
working_dir: /workspace/bin/
volumes:
- /tmp/:/tmp/
command: ["./elevator_simulator"]
fms:
build: .
container_name: fms
# restart: always
tty: true
stdin_open: true
image: ropod-fms
network_mode: "host"
volumes:
- /var/log/ropod/fms:/var/log/ropod/fms
depends_on:
- mongo
- osm
- roscore
command: ["python3", "ccu.py"]
task_test:
image: ropod-fms
working_dir: /opt/ropod/fms/fleet-management/fleet_management/test/
command: ["python3", "task_request_test.py"]
container_name: task-request-test
network_mode: "host"
tty: true
stdin_open: true
depends_on:
- mongo
- fms
- osm
- robot_proxy_1
- robot_1
query_interface_test:
image: ropod-fms
working_dir: /opt/ropod/fms/fleet-management/fleet_management/test/
command: ["python3", "query_interface_test.py"]
container_name: query-interface-test
network_mode: "host"
tty: true
stdin_open: true
depends_on:
- mongo
- fms
- robot_proxy_1
elevator_test:
image: ropod-fms
working_dir: /opt/ropod/fms/fleet-management/fleet_management/test/
command: ["python3", "test_elevator_request.py"]
container_name: elevator-test
network_mode: "host"
tty: true
stdin_open: true
depends_on:
- mongo
- fms
- elevator
- elevator_simulator
path_planner_test:
image: ropod-fms
working_dir: /opt/ropod/fms/fleet-management/fleet_management/test/integration/osm/
command: ["python3", "path_planner_test.py"]
container_name: path-planner-test
network_mode: "host"
depends_on:
- osm
robot_proxy_1:
image: ropod-fms
container_name: "ropod_proxy_001"
network_mode: "host"
working_dir: /opt/ropod/fms/fleet-management/fleet_management/proxies
command: ["python3", "robot.py","ropod_001"]
stdin_open: true
tty: true
volumes:
- /var/log/ropod/fms:/var/log/ropod/fms
robot_1:
image: ropod-fms
container_name: "ropod_001"
network_mode: "host"
working_dir: /opt/ropod/fms/fleet-management/fleet_management/plugins/mrta
command: ["python3", "robot.py","ropod_001"]
stdin_open: true
tty: true
volumes:
- /var/log/ropod/fms:/var/log/ropod/fms
task_relay:
image: ropod-fms
container_name: "task_relay"
network_mode: "host"
working_dir: /opt/ropod/fms/fleet-management/fleet_management/test/integration/tasks/
command: ["python3", "task_relay.py"]
stdin_open: true
tty: true
task_requester:
image: ropod-fms
working_dir: /opt/ropod/fms/fleet-management/fleet_management/test/integration/tasks
command: ["python3", "task_requester.py"]
container_name: "task_requester"
network_mode: "host"
tty: true
stdin_open: true
depends_on:
- mongo
- fms
- osm
- robot_proxy_1
- robot_1
com_mediator:
environment:
- ROPOD_ID=ropod_001
image: git.ropod.org:4567/ropod/communication/ropod_com_mediator:latest
container_name: "com_mediator"
network_mode: "host"
working_dir: /ropod_com_mediator_ws
command: ["roslaunch", "ropod_com_mediator","com_mediator.launch", "debug_mode:=true"]
com_mediator_test:
image: ropod-fms
working_dir: /opt/ropod/fms/fleet-management/fleet_management/test/integration/tasks
command: ["python3", "com_mediator_test.py"]
container_name: com_mediator_test
network_mode: "host"
tty: true
stdin_open: true