generated from duckietown/template-ros
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
49 lines (45 loc) · 1.25 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
version: '3.2'
services:
ros:
image: duckietown/dt-ros-commons:daffy-amd64
container_name: ros
restart: unless-stopped
network_mode: host
volumes:
- ./data:/data
- /tmp/.X11-unix:/tmp/.X11-unix:rw
# avahi socket
- /var/run/avahi-daemon/socket:/var/run/avahi-daemon/socket
environment:
- VEHICLE_NAME=fakebot
- DISPLAY=:33
core:
image: duckietown/duckietown_simulator_wrapper:v2-amd64
container_name: duckietown_simulator_wrapper
restart: unless-stopped
network_mode: host
extra_hosts:
- fakebot.local:127.0.0.1
# privileged: true
command: dt-launcher-default
volumes:
- ./data:/data
- /tmp/.X11-unix:/tmp/.X11-unix:rw
# avahi socket
- /var/run/avahi-daemon/socket:/var/run/avahi-daemon/socket
environment:
- VEHICLE_NAME=fakebot
- DISPLAY=:33
car-interface:
image: duckietown/dt-car-interface:daffy-amd64
container_name: car-interface
restart: unless-stopped
network_mode: host
volumes:
- ./data:/data
- /tmp/.X11-unix:/tmp/.X11-unix:rw
# avahi socket
- /var/run/avahi-daemon/socket:/var/run/avahi-daemon/socket
environment:
- VEHICLE_NAME=fakebot
- DISPLAY=:33