-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yaml
74 lines (68 loc) · 1.54 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
version: "3.8"
# All services that are required to run the supported scenarios
services:
# CARLA container which is the data source and main simulation environment
carla:
container_name: carla
build:
context: ./carla
networks:
- simutack-net
ports:
- "2000-2002:2000-2002"
deploy:
resources:
reservations:
devices:
- capabilities: [gpu]
driver: nvidia
count: all
# Simutack framework container
simutack:
container_name: simutack
build:
context: ./simutack
command: "python3 simutack -v --ip carla --port 2000 --carla-path /carla/PythonAPI/carla/dist/carla-0.9.12-py3.8-linux-x86_64.egg"
volumes:
- ./simutack:/simutack
networks:
- simutack-net
ports:
- 3000:3000
depends_on:
- "carla"
# ECU container
traffic-sign-ecu:
container_name: traffic-sign-ecu
build:
context: ./ecus/traffic-sign-recognition
networks:
- simutack-net
ports:
- 4000:4000
deploy:
resources:
reservations:
devices:
- capabilities: [gpu]
driver: nvidia
count: all
depends_on:
- "carla"
- "simutack"
autopilot-ecu:
container_name: autopilot-ecu
build:
context: ./ecus/autopilot
volumes:
- ./ecus/autopilot:/autopilot
networks:
- simutack-net
ports:
- 5000:5000
depends_on:
- "carla"
- "simutack"
- "traffic-sign-ecu"
networks:
simutack-net: