-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.eloquent.yaml
90 lines (90 loc) · 2.8 KB
/
docker-compose.eloquent.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
84
85
86
87
88
89
90
version: '3'
services:
robot:
image: jeguzzi/thymio:eloquent
network_mode: &net host
pid: &pid host
privileged: true
restart: always
command: ros2 launch thymio_driver mt_base.launch
env_file:
- ros.env
volumes:
- ./logs:/root/.ros/log:rw
- ./ros2_launch/eloquent/mt_base.launch:/ros_ws/install/share/thymio_driver/launch/mt_base.launch:ro
- ./ros2_launch/eloquent/motor.yaml:/ros_ws/install/share/thymio_driver/launch/motor.yaml:ro
state:
image: jeguzzi/thymioid:eloquent
network_mode: *net
pid: *pid
command: ros2 launch thymioid mt_state.launch
restart: always
env_file:
- ros.env
volumes:
- ./logs:/root/.ros/log:rw
- ./ros2_launch/eloquent/mt_state.launch:/ros_ws/install/share/thymioid/launch/mt_state.launch:ro
camera:
image: jeguzzi/mt-camera:eloquent
network_mode: *net
pid: *pid
privileged: true
command: ros2 launch v4l2_camera camera.launch
restart: always
env_file:
- ros.env
volumes:
- ./logs:/root/.ros/log:rw
- ./ros2_launch/eloquent/camera.yaml:/root/.ros/camera_info/usb_2.0_camera.yaml:ro
- ./ros2_launch/eloquent/camera.launch:/opt/ros/eloquent/share/v4l2_camera/launch/camera.launch:ro
ups:
image: jeguzzi/mt-ups:eloquent
network_mode: *net
pid: *pid
privileged: true
command: ros2 launch odroid_ups mt_ups.launch
restart: always
env_file:
- ros.env
volumes:
- ./logs:/root/.ros/log:rw
- ./ros2_launch/eloquent/mt_ups.launch:/ros_ws/install/share/odroid_ups/launch/mt_ups.launch:ro
ui:
image: jeguzzi/thymioid:eloquent
network_mode: *net
pid: *pid
command: ros2 launch thymioid mt_ui.launch
restart: always
env_file:
- ros.env
volumes:
- ./logs:/root/.ros/log:rw
- ./ros2_launch/eloquent/mt_ui.launch:/ros_ws/install/share/thymioid/launch/mt_ui.launch:ro
- /run/network/ifstate.wlan0:/run/network/ifstate.wlan0
- /root/docker/mighty-thymio/wlan:/wlan:rw
- /root/docker/mighty-thymio/shutdown:/shutdown:rw
- /root/docker/mighty-thymio/update:/update:rw
depends_on:
- robot
teleop:
image: jeguzzi/mt-teleop:eloquent
network_mode: *net
pid: *pid
privileged: true
command: ros2 launch thymioid mt_teleop.launch
restart: always
env_file:
- ros.env
volumes:
- ./logs:/root/.ros/log:rw
- ./ros2_launch/eloquent/mt_teleop.launch:/ros_ws/install/share/thymioid/launch/mt_teleop.launch:ro
- ./ros2_launch/eloquent/joy_config.yaml:/ros_ws/install/share/thymioid/configuration/joy_config.yaml:ro
depends_on:
- robot
portainer:
command: --no-auth
image: portainer/portainer
network_mode: host
volumes:
- /var/run/docker.sock:/var/run/docker.sock
restart: always