-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
33 lines (31 loc) · 971 Bytes
/
docker-compose.yml
File metadata and controls
33 lines (31 loc) · 971 Bytes
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
version: '3'
#volumes:
# Build a directory structure similar to the 2017VisionCode
# so that CMake finds dependencies
# - zebROS_ws/src:/ws/zebROS_ws/src
# - zebravision/:/ws/zebravision
# - navXTimeSync/:/ws/navXTimeSync
# Disabled right now because code is copied in on build
services:
master:
image: ros:kinetic-ros-core
environment:
- "ROS_HOSTNAME=master"
command:
- roscore
compute:
build:
context: .
dockerfile: Dockerfile
environment:
- "ROS_HOSTNAME=compute"
- "ROS_MASTER_URI=http://master:11311"
container_name: master
command: bash -c "source /ws/zebROS_ws/devel_isolated/setup.bash && roslaunch controller_node controller_compute"
zed:
build: .
container_name: zed
environment:
- "ROS_HOSTNAME=zed"
- "ROS_MASTER_URI=http://master:11311"
command: bash -c "source /ws/zebROS_ws/devel_isolated/setup.bash && roslaunch controller_node controller_compute"