-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
48 lines (46 loc) · 1.24 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
version: '3'
services:
lanefollow:
image: duckietown/dt-notebook:daffy
build:
context: .
dockerfile: DockerfileNB
working_dir: /duckietown
networks:
- duckietown-docker-net
depends_on:
- "sim"
volumes:
- ./catkin_ws:/duckietown/catkin_ws
- ./notebooks:/duckietown/notebooks
- ./utils:/duckietown/utils
- ./custom:/duckietown/custom
- ./custom_ws:/duckietown/custom_ws
- ./simulation:/duckietown/simulation
- /tmp/.X11-unix:/tmp/.X11-unix
environment:
- "ROS_MASTER_URI=http://sim:11311"
- "HOSTNAME=default"
- "VEHICLE_NAME=default"
- "DISPLAY=:99"
expose:
- "8888"
ports:
- "8888:8888"
sim:
image: duckietown/dt-sim:daffy
build:
context: .
dockerfile: DockerfileSim
networks:
- duckietown-docker-net
volumes:
- ./simulation:/duckietown/simulation
- ./utils:/duckietown/utils
environment:
- "ROS_MASTER_URI=http://sim:11311"
- "HOSTNAME=default"
- "VEHICLE_NAME=default"
- "DISPLAY=:99"
networks:
duckietown-docker-net: