-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
66 lines (63 loc) · 1.89 KB
/
docker-compose.yml
File metadata and controls
66 lines (63 loc) · 1.89 KB
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
services:
webapp:
container_name: ros2_lab_webapp
network_mode: host
build:
context: .
target: dev
dockerfile: Dockerfile.webapp
restart: always
environment:
- NODE_ENV=development
- CHOKIDAR_USEPOLLING=true
- WATCHPACK_POLLING=true
volumes:
- ./webapp:/app
- ./webapp/node_modules:/app/node_modules
- ./webapp/.next:/app/.next
websocket:
container_name: ros2_lab_websocket
build:
context: . # Build context (optional, defaults to current directory)
dockerfile: Dockerfile.websocket
restart: unless-stopped
privileged: true
network_mode: host
ipc: host
pid: host
command: ros2 launch rosbridge_server rosbridge_websocket_launch.xml namespace:=${USER}
environment:
- "ROBOTNAME=${ROBOTNAME}"
- "ROS_DOMAIN_ID=4"
- "RMW_IMPLEMENTATION=rmw_cyclonedds_cpp"
- CYCLONEDDS_URI=file:///cyclone_profile.xml
volumes:
- /home/robotaa/cyclone_profile.xml:/cyclone_profile.xml
webrtc:
container_name: ros2_lab_webrtc
build:
context: . # Build context (optional, defaults to current directory)
dockerfile: Dockerfile.webrtc
restart: unless-stopped
privileged: true
network_mode: host
ipc: host
pid: host
command: python3 webrtc_server.py
environment:
- "ROBOTNAME=${ROBOTNAME}"
- "ROS_DOMAIN_ID=4"
- "RMW_IMPLEMENTATION=rmw_cyclonedds_cpp"
- CYCLONEDDS_URI=file:///cyclone_profile.xml
volumes:
- /home/robotaa/cyclone_profile.xml:/cyclone_profile.xml #- ./webrtc/webrtc_server.py:/ws_webrtc/webrtc_server.py
- ./webrtc/:/ws_webrtc/
bagapi:
container_name: ros2_lab_bagapi
build:
context: . # Build context (optional, defaults to current directory)
dockerfile: Dockerfile.bagapi
restart: unless-stopped
network_mode: host
volumes:
- /ssd/bags:/app/bags