-
Notifications
You must be signed in to change notification settings - Fork 11
/
docker-compose.yaml
127 lines (124 loc) · 4.28 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
version: "3"
services:
ros_master:
image: ros:noetic-ros-core
networks:
- mapping_ipp_framework_network
restart: always
container_name: mapping_ipp_framework_ros_master
command: stdbuf -o L roscore
mapping_ipp:
image: mapping_ipp_framework_mapping_ipp:latest
build:
context: .
dockerfile: Dockerfile
depends_on:
- ros_master
networks:
- mapping_ipp_framework_network
volumes:
- ${REPO_DIR}:/mapping_ipp_framework
- /tmp/.X11-unix:/tmp/.X11-unix:rw
environment:
- ROS_MASTER_URI=http://ros_master:11311
- REPO_DIR=${REPO_DIR}
- CONFIG_FILE_PATH=${CONFIG_FILE_PATH}
- LOG_DIR=${LOG_DIR}
- DISPLAY=unix${DISPLAY}
- QT_X11_NO_MITSHM=1
- NVIDIA_VISIBLE_DEVICES=all
- KMP_INIT_AT_FORK=FALSE
# - MKL_THREADING_LAYER=TBB
- TELEGRAM_CHAT_ID=${TELEGRAM_CHAT_ID}
- TELEGRAM_TOKEN=${TELEGRAM_TOKEN}
- EXPERIMENT_FILE_PATH=${EXPERIMENT_FILE_PATH}
- CHECKPOINTS_DIR=${CHECKPOINTS_DIR}
- TRAIN_DATA_DIR=${TRAIN_DATA_DIR}
- DATASETS_DIR=${DATASETS_DIR}
ports:
- "6006:6006"
container_name: mapping_ipp_framework_mapping_ipp
runtime: nvidia
command: "sleep 168h"
rotors_simulation:
image: mapping_ipp_framework_mapping_ipp:latest
build:
context: .
dockerfile: Dockerfile
depends_on:
- ros_master
networks:
- mapping_ipp_framework_network
volumes:
- ${REPO_DIR}:/mapping_ipp_framework
- /tmp/.X11-unix:/tmp/.X11-unix:rw
environment:
- ROS_MASTER_URI=http://ros_master:11311
- REPO_DIR=${REPO_DIR}
- CONFIG_FILE_PATH=${CONFIG_FILE_PATH}
- LOG_DIR=${LOG_DIR}
- DISPLAY=unix${DISPLAY}
- QT_X11_NO_MITSHM=1
container_name: mapping_ipp_framework_rotors_simulation
command: "sleep 168h"
mav_ipp_planning:
image: mapping_ipp_framework_mapping_ipp:latest
build:
context: .
dockerfile: Dockerfile
depends_on:
- ros_master
networks:
- mapping_ipp_framework_network
volumes:
- ${REPO_DIR}:/mapping_ipp_framework
- ${REPO_DIR}/planning:/mapping_ipp_framework/src/planning
- /tmp/.X11-unix:/tmp/.X11-unix:rw
environment:
- ROS_MASTER_URI=http://ros_master:11311
- REPO_DIR=${REPO_DIR}
- CONFIG_FILE_PATH=${CONFIG_FILE_PATH}
- LOG_DIR=${LOG_DIR}
- DISPLAY=unix${DISPLAY}
- QT_X11_NO_MITSHM=1
container_name: mapping_ipp_framework_mav_ipp_planning
command: "sleep 168h"
mav_local_planning:
image: mapping_ipp_framework_mapping_ipp:latest
build:
context: .
dockerfile: Dockerfile
depends_on:
- ros_master
networks:
- mapping_ipp_framework_network
volumes:
- ${REPO_DIR}:/mapping_ipp_framework
environment:
- ROS_MASTER_URI=http://ros_master:11311
- REPO_DIR=${REPO_DIR}
- CONFIG_FILE_PATH=${CONFIG_FILE_PATH}
- LOG_DIR=${LOG_DIR}
container_name: mapping_ipp_framework_mav_local_planning
command: "sleep 168h"
mav_control:
image: mapping_ipp_framework_mapping_ipp:latest
build:
context: .
dockerfile: Dockerfile
depends_on:
- ros_master
networks:
- mapping_ipp_framework_network
volumes:
- ${REPO_DIR}:/mapping_ipp_framework
environment:
- ROS_MASTER_URI=http://ros_master:11311
- REPO_DIR=${REPO_DIR}
- CONFIG_FILE_PATH=${CONFIG_FILE_PATH}
- LOG_DIR=${LOG_DIR}
container_name: mapping_ipp_framework_mav_control
command: bash -c "source /mapping_ipp_framework/devel/setup.bash && roslaunch mav_linear_mpc mav_linear_mpc_sim.launch mav_name:=firefly"
networks:
mapping_ipp_framework_network:
driver: bridge