-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
97 lines (95 loc) · 2.07 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
version: '2.3'
networks:
robot:
enable_ipv6: true
ipam:
config:
- subnet: fdff:0cea::/32
gigecamera:
driver: macvlan
ipam:
config:
- subnet: 192.168.0.0/16
ip_range: 192.168.2.128/26
driver_opts:
parent: enp0s25
volumes:
calibration:
services:
master:
image: ros:kinetic-ros-core
environment:
- ROS_MASTER_URI=http://master:11311
- ROS_HOSTNAME=master
command: roslaunch --core
networks:
- robot
stop_signal: SIGINT
vimba_camera:
depends_on:
- master
build:
context: .
dockerfile: Dockerfile.vimba
image: vimba
environment:
- ROS_MASTER_URI=http://master:11311
- ROS_HOSTNAME=vimba_camera
networks:
robot:
gigecamera:
ipv4_address: 192.168.1.1
volumes:
- type: volume
source: calibration
target: /calibration
read_only: false
- type: bind
source: /home/russel/vimba-camera/camera.launch
target: /camera.launch
stop_signal: SIGINT
ptgrey_camera:
depends_on:
- master
build:
context: .
dockerfile: Dockerfile.flycap
image: flycap
environment:
- ROS_MASTER_URI=http://master:11311
- ROS_HOSTNAME=ptgrey_camera
networks:
robot:
gigecamera:
ipv4_address: 192.168.5.1
volumes:
- type: volume
source: calibration
target: /calibration
read_only: false
- type: bind
source: /home/russel/vimba-camera/ptgrey.launch
target: /camera.launch
stop_signal: SIGINT
viewer:
depends_on:
- master
build:
context: .
dockerfile: Dockerfile.viewer
image: osrf_ros:kinetic-desktop-opengl
environment:
- ROS_MASTER_URI=http://master:11311
- ROS_HOSTNAME=viewer
- DISPLAY=:0.0
- QT_X11_NO_MITSHM=1
networks:
- robot
volumes:
- type: bind
source: /tmp/.X11-unix
target: /tmp/.X11-unix
read_only: false
devices:
- "/dev/dri:/dev/dri"
stop_signal: SIGINT