-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
49 lines (46 loc) · 1.58 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
version: '3'
services:
cardrivers:
image: cardrivers:latest
network_mode: "host"
volumes:
- "./data:/data"
- "./scripts:/home/cardrivers/scripts"
- "./cardrivers/catkin_ws:/home/cardrivers/catkin_ws"
privileged: true
environment:
- "DISABLE_CONTRACTS=1"
- "ROS_MASTER_URI=http://localhost:11311"
- "HOSTNAME=master"
restart: "always"
command: ["/home/cardrivers/scripts/start_rosbridge.sh"]
aidrivingmodule:
image: enicky/aidrivingmodule:latest-arm32v7
network_mode: "host"
volumes:
- "./data:/data"
- "./scripts:/home/aidrivingmodule/scripts"
- "./ai-driver/catkin_ws:/home/aidrivingmodule/catkin_ws"
- "./scripts/run_ai_module.sh:/home/aidrivingmodule/run_ai_module.sh"
environment:
- "DISABLE_CONTRACTS=1"
- "ROS_MASTER_URI=http://localhost:11311"
- "HOSTNAME=master"
depends_on:
- cardrivers
restart: "always"
pi-comm:
image: pi_comm
network_mode: "host"
volumes:
- "./pi-comm/rttfcar_commander/:/home/user/rttfcar_commander/"
privileged: true
environment:
- "DISABLE_CONTRACTS=1"
- "ROS_MASTER_URI=http://localhost:11311"
- "HOSTNAME=master"
depends_on:
- cardrivers
- aidrivingmodule
restart: "always"
# command: "cd /home/user/pi-comm/ && /bin/bash start_picomm.sh"