-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-sim.yaml
83 lines (77 loc) · 1.76 KB
/
docker-compose-sim.yaml
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
version: '3.8'
services:
master:
image: sskorol/rosmaster:latest
network_mode: host
command:
- roscore
bridge:
image: sskorol/rosmaster:latest
network_mode: host
environment:
- ROS_MASTER_URI=http://localhost:11311
depends_on:
- master
command:
- roslaunch
- --wait
- rosbridge_server
- rosbridge_websocket.launch
backend:
image: sskorol/minipupper-be:latest
network_mode: host
build: ./backend
volumes:
- /dev/bus/usb:/dev/bus/usb
device_cgroup_rules:
- 'c 189:* rmw'
environment:
- PYTHONUNBUFFERED=1
frontend:
image: sskorol/minipupper-fe:latest
network_mode: host
build: ./frontend
environment:
- REACT_APP_ROSBRIDGE_SERVER_IP=$HOST_IP
- REACT_APP_ROSBRIDGE_SERVER_PORT=9090
- REACT_APP_RECONNECTION_TIMER=1000
- REACT_APP_BE_URL=http://$HOST_IP:8080
- REACT_APP_IS_SIMULATION=true
depends_on:
- bridge
- backend
pupper:
image: sskorol/minipupper-core:latest
privileged: true
network_mode: host
depends_on:
- master
- teleop
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix:rw
environment:
- PYTHONUNBUFFERED=1
- ROS_MASTER_URI=http://localhost:11311
- DISPLAY=$DISPLAY
- QT_X11_NO_MITSHM=1
- DISPLAY
command:
- roslaunch
- --wait
- mini_pupper
- gazebo.launch
- gui:=false
- respawn_controller:=true
teleop:
image: sskorol/minipupper-core:latest
network_mode: host
environment:
- PYTHONUNBUFFERED=1
- ROS_MASTER_URI=http://localhost:11311
depends_on:
- master
- bridge
command:
- rosrun
- teleop_legged_robots
- teleop_legged_robots.py