-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
57 lines (50 loc) · 1.11 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
version: '2'
networks:
ros:
driver: bridge
services:
ros-master:
image: ros:noetic-ros-core
#network_mode: "host"
ports:
- 11311:11311
command: roscore
networks:
- ros
sender:
image: sender:latest
depends_on:
- ros-master
environment:
- "ROS_MASTER_URI=http://ros-master:11311"
command: /bin/bash -c 'source /opt/ros/noetic/setup.bash && python3 /home/ros/sender.py'
working_dir: /home/ros
networks:
- ros
receiver:
image: receiver:latest
depends_on:
- sender
environment:
- "ROS_MASTER_URI=http://ros-master:11311"
command: /bin/bash -c 'source /opt/ros/noetic/setup.bash && python3 /home/ros/receiver.py'
working_dir: /home/ros
volumes:
- /var/log/ros:/home/ros/log
networks:
- ros
#bettercap:
# image: bettercap/bettercap
# networks:
# - ros
fuzzer:
image: fuzzer:latest
environment:
- "ROS_MASTER_URI=http://ros-master:11311"
command: '/usr/sbin/sshd -D'
privileged: true
ports:
- "11322:22"
- "26000:26000"
networks:
- ros