-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
74 lines (62 loc) · 1.51 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
version: '2.1'
volumes:
ros-bin:
opencv-lib:
opencv-include:
usr-lib:
services:
roscore:
image: cristidragomir97/roscore
environment:
- UDEV=1
- ROS_HOSTNAME=roscore
- ROS_MASTER_URI=http://roscore:11311
links:
- rosboard
- camera
- robot-block
ports:
- "11311:11311"
volumes:
- ros-bin:/opt/ros/noetic
- opencv-lib:/usr/local/lib/opencv
- opencv-include:/usr/local/include/opencv
- usr-lib:/usr/lib/aarch64-linux-gnu
rosboard:
image: cristidragomir97/rosboard
environment:
- ROS_HOSTNAME=rosboard
- ROS_MASTER_URI=http://roscore:11311
ports:
- "8888:8888"
volumes:
- ros-bin:/opt/ros/noetic
robot-block:
privileged: true
build: ./robot
environment:
- UDEV=1
- ROS_HOSTNAME=robot-block
- ROS_MASTER_URI=http://roscore:11311
volumes:
- ros-bin:/opt/ros/noetic
- opencv-lib:/usr/local/lib/opencv
- opencv-include:/usr/local/include/opencv
- usr-lib:/usr/lib/aarch64-linux-gnu
ports:
- "8000:80"
- "5000:5000"
devices:
- "/dev:/dev"
arduino-block:
privileged: true
image: cristidragomir97/arduino-block
devices:
- "/dev:/dev"
environment:
- AVRDUDE_CPU=atmega328p
- MONITOR_BAUD=115200
- SERIAL_PORT= /dev/ttyUSB0
- REPO=github.com/cristidragomir97/motorhead
- SKETCH_FOLDER=/usr/sketches
- ARDUINO_FQBN=arduino:avr:unonano