-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (39 loc) · 1.03 KB
/
docker-compose.yml
File metadata and controls
40 lines (39 loc) · 1.03 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
services:
perception:
image: mmx-perception:latest
build:
context: ./perception # <— use service folder as context
dockerfile: Dockerfile
network_mode: host
ipc: host
privileged: true
devices:
- /dev/video0:/dev/video0
volumes:
- ./config:/work/config:ro
environment:
ROS_DOMAIN_ID: 0
UVC_DEVICE: /dev/video0
RGB_WIDTH: "1920"
RGB_HEIGHT: "1080"
RGB_FPS: "30.0"
RGB_PIXEL_FORMAT: mjpeg2rgb
RGB_FRAME_ID: uvc_rgb
RGB_CAMERA_NAME: arducam_rgb
RGB_IMAGE_TOPIC: /sensors/rgb/image_raw
RGB_INFO_TOPIC: /sensors/rgb/camera_info
RGB_INFO_URL: file:///work/config/rgb_1920x1080.yaml
command: ["/start.sh"]
infra:
image: mmx-infra:latest
build:
context: ./infra # <— use service folder as context
dockerfile: Dockerfile
network_mode: host
ipc: host
depends_on:
- perception
environment:
ROS_DOMAIN_ID: 0
FOXGLOVE_PORT: "8765"
command: ["/start.sh"]