-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yaml
61 lines (47 loc) · 1.69 KB
/
docker-compose.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
version: "3.5"
# Containers
services:
# Autonomy container
lx_autonomy:
build:
context: ./
dockerfile: ./docker/lx_autonomy.Dockerfile
container_name: lx_autonomy
privileged: true
environment:
DISPLAY: ${DISPLAY}
network_mode: host
volumes:
- ./src/lx_autonomy/src/lx_packages:/home/lx_autonomy/lx_autonomy_ws/src/lx_packages
- ./src/lx_autonomy/build_folders/build:/home/lx_autonomy/lx_autonomy_ws/build
- ./src/lx_autonomy/build_folders/install:/home/lx_autonomy/lx_autonomy_ws/install
- ./src/lx_autonomy/build_folders/log:/home/lx_autonomy/lx_autonomy_ws/log
- ./src/lx_autonomy/init_autonomy.sh:/home/lx_autonomy/lx_autonomy_ws/init_autonomy.sh
- ./bags/:/home/lx_autonomy/lx_autonomy_ws/bags/
- ./utilities/:/home/lx_autonomy/lx_autonomy_ws/utilities/
- /dev/:/dev/
- /tmp/.X11-unix:/tmp/.X11-unix
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
tty: true
stdin_open: true
# Hardware container
lx_hardware:
build:
context: ./
dockerfile: ./docker/lx_hardware.Dockerfile
container_name: lx_hardware
privileged: true
# network_mode: host
environment:
DISPLAY: ${DISPLAY}
volumes:
- ./src/lx_hardware/ros2_ws/src/lx_packages/:/home/lx_hardware/ros2_ws/src/lx_packages/
- ./src/lx_hardware/ros1_ws/src/lx_packages/:/home/lx_hardware/ros1_ws/src/lx_packages/
- ./src/lx_hardware/init_hardware.sh:/home/lx_hardware/init_hardware.sh
- /dev/:/dev/
- /tmp/.X11-unix:/tmp/.X11-unix
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
tty: true
stdin_open: true