-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathdocker-compose.yml
36 lines (33 loc) · 971 Bytes
/
docker-compose.yml
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
version: '3.8'
services:
autonav:
image: jatinvpatil/autonav:latest
command: >
uvicorn index:app --host 0.0.0.0 --port 8000
# command: bash -c "source /colcon_ws/install/setup.bash && colcon build --symlink-install && source /colcon_ws/install/setup.bash && ros2 launch autonav_firmware autonav_bringup.launch.py"
# network_mode: "host"
devices:
- "/dev/bno055:/dev/bno055"
- "/dev/lidar:/dev/lidar_x4"
ports:
# - 27017:27017
- 8000:8000
volumes:
- "~/AutoNav:/colcon_ws/src"
- "~/AutoNav/WebServer:/WebServer"
restart: unless-stopped
micro_ros:
image: microros/micro-ros-agent:humble
command: serial --dev /dev/ttyesp32
privileged: true
# network_mode: host
volumes:
- /dev/esp32:/dev/ttyesp32
restart: unless-stopped
mongodb:
image: mongo:4.4.18
ports:
- 27017:27017
volumes:
- ~/mongodb_data:/data/db
restart: unless-stopped