-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.cyclone.yaml
121 lines (117 loc) · 2.76 KB
/
compose.cyclone.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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
version: "3"
networks:
ros-network:
external: false
driver: "bridge"
ipam:
config:
- subnet: "172.18.0.0/24"
ip_range: "172.18.0.64/26"
gateway: "172.18.0.1"
services:
RouDi:
image: iceoryx:introspection
build:
context: .
dockerfile: Dockerfile_iox_introspection
args:
DOCKER_USER: ${USER}
BASE_IMAGE: ghcr.io/ipa-rwu/iceoryx:v2.0.3
networks:
ros-network:
priority: 999
ipv4_address: 172.18.0.2
user: 1000:1000
volumes:
- ./iox_config.toml:/iox_config.toml
- /dev:/dev
- /tmp:/tmp
stdin_open: true
tty: true
command:
- /usr/bin/iox-roudi -c /iox_config.toml -l debug
talker:
image: communication_test_nodes_humble:user
build:
context: .
dockerfile: Dockerfile_USER
args:
DOCKER_USER: ${USER}
BASE_IMAGE: ghcr.io/ipa-rwu/communication_test_nodes_humble:latest
pid: "service:RouDi"
networks:
ros-network:
priority: 999
ipv4_address: 172.18.0.3
environment:
- NETINTERFACE=eth0
- ROS_DOMAIN_ID=42
- ROS_SECURITY_ENABLE=false
- RMW_IMPLEMENTATION=rmw_cyclonedds_cpp
- CYCLONEDDS_URI=/cyclonedds.xml
user: 1000:1000
volumes:
- ./cyclonedds.xml:/cyclonedds.xml
- /dev:/dev
- /tmp:/tmp
stdin_open: true
tty: true
command:
- bash
- -c
- |
ros2 run demo_nodes_cpp talker
listener:
image: communication_test_nodes_humble:user
build:
context: .
dockerfile: Dockerfile_USER
args:
DOCKER_USER: ${USER}
BASE_IMAGE: ghcr.io/ipa-rwu/communication_test_nodes_humble:latest
networks:
ros-network:
priority: 999
ipv4_address: 172.18.0.4
pid: "service:RouDi"
environment:
- NETINTERFACE=eth0
- ROS_DOMAIN_ID=42
- ROS_SECURITY_ENABLE=false
- RMW_IMPLEMENTATION=rmw_cyclonedds_cpp
- CYCLONEDDS_URI=/cyclonedds.xml
user: 1000:1000
volumes:
- ./cyclonedds.xml:/cyclonedds.xml
- /dev:/dev
- /tmp:/tmp
stdin_open: true
tty: true
command:
- bash
- -c
- |
ros2 run demo_nodes_cpp listener
iox-introspection:
image: iceoryx:introspection
build:
context: .
dockerfile: Dockerfile_iox_introspection
args:
DOCKER_USER: ${USER}
BASE_IMAGE: ghcr.io/ipa-rwu/iceoryx:v2.0.3
networks:
ros-network:
priority: 999
ipv4_address: 172.18.0.5
user: 1000:1000
volumes:
- ./iox_config.toml:/iox_config.toml
- /dev:/dev
- /tmp:/tmp
stdin_open: true
tty: true
pid: "service:RouDi"
command:
- /bin/bash
# iox-introspection-client --all