-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
25 lines (24 loc) · 810 Bytes
/
compose.yaml
File metadata and controls
25 lines (24 loc) · 810 Bytes
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
version: "3.0"
services:
bento-operation:
build: .
container_name: bento_operator
user: root
privileged: true
network_mode: "host"
stdin_open: true
tty: true
working_dir: /launch-content/
volumes:
- /dev/input/:/dev/input/
- /run/udev/:/run/udev/ # for libcamera
- /tmp/.X11-unix/:/tmp/.X11-unix/
- ~/.Xauthority:/root/.Xauthority:ro
- ./launch-content:/launch-content:ro
#TODO: change to configs once possible:
- ./config/qt5ct.conf:/root/.config/qt5ct/qt5ct.conf:ro
- ./config/bento_colors.conf:/root/.config/qt5ct/colors/bento_colors.conf:ro
environment:
- DISPLAY=$DISPLAY
- QT_QPA_PLATFORMTHEME=qt5ct
command: 'ros2 launch /launch-content/operator.launch.py robot_namespace:="${BENTO_ROBOT_NAME}"'