-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
45 lines (38 loc) · 1.02 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
version: '3.3'
# before starting: xhost +local:docker
services:
core:
image: ros:kinetic-ros-core
tty: true
command: roscore
ws1:
build:
context: .
dockerfile: __docker__/workspace.Dockerfile
tty: true
# devices:
# - /dev/video0:/dev/video0
environment:
- ROS_MASTER_URI=http://core:11311/
- DISPLAY=$DISPLAY
ports:
- 50001:50001
volumes:
- ./ros_packages/:/catkin_ws/src/ros_packages
- ${PWD}/packages_ws1.list:/catkin_ws/packages.list
- ./ur5_control/:/catkin_ws/src/ur5_control
- ./ur5_smartlab/:/catkin_ws/src/ur5_smartlab
- ./ur5_smartlab_moveit_config/:/catkin_ws/src/ur5_smartlab_moveit_config
- /tmp/.X11-unix:/tmp/.X11-unix:rw
#
# gazebo:
# build:
# context: .
# dockerfile: docker/gazebo.Dockerfile
# tty: true
# environment:
# - ROS_MASTER_URI=http://core:11311/
# - DISPLAY=$DISPLAY
# volumes:
# - /tmp/.X11-unix:/tmp/.X11-unix:rw
# - ./gazebo/:/catkin_ws