-
Notifications
You must be signed in to change notification settings - Fork 1
/
turtlesim.yml
48 lines (42 loc) · 980 Bytes
/
turtlesim.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
version: '2'
networks:
ros:
driver: bridge
services:
ros-master:
image: ros:kinetic-ros-core
command: stdbuf -o L roscore
networks:
- ros
restart: always
turtle-sim:
image: osrf/ros:kinetic-desktop
depends_on:
- ros-master
environment:
- "ROS_MASTER_URI=http://ros-master:11311"
- "ROS_HOSTNAME=ros_docker_turtle-sim_1"
#- "ROS_IP=172.21.0.4"
- "DISPLAY=10.197.164.249:0"
networks:
- ros
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix
stdin_open: true
tty: true
turtle-sim-teleop:
image: osrf/ros:kinetic-desktop
depends_on:
- ros-master
- turtle-sim
environment:
- "ROS_MASTER_URI=http://ros-master:11311"
- "ROS_HOSTNAME=ros_docker_turtle-sim-teleop_1"
#- "ROS_IP=172.21.0.3"
- "ROS_PACKAGE_PATH=/catkin_ws/build"
networks:
- ros
volumes:
- ./src:/root/catkin_ws/src
stdin_open: true
tty: true