-
Notifications
You must be signed in to change notification settings - Fork 136
/
docker-compose.yml
49 lines (42 loc) · 1.04 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.7"
x-nuplan-volumes: &x-nuplan-volumes
volumes:
- "$NUPLAN_DATA_ROOT:/data/sets/nuplan:rw"
- "$NUPLAN_EXP_ROOT:/data/exp/nuplan:rw"
x-nuplan-maps: &x-nuplan-maps
volumes:
- "$NUPLAN_MAPS_ROOT:/data/sets/nuplan/maps:rw"
services:
submission:
<<: *x-nuplan-maps
image: ${SUBMISSION_IMAGE}
build:
context: ./
dockerfile: Dockerfile.submission
env_file:
- .env
network_mode: "host"
tty: true
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: ["gpu"]
entrypoint: /nuplan_devkit/nuplan/entrypoint_submission.sh
simulation:
<<: *x-nuplan-volumes
image: ${SIMULATION_IMAGE}
build:
context: ./
dockerfile: Dockerfile
env_file:
- .env
environment:
'NUPLAN_CHALLENGE': $NUPLAN_CHALLENGE
'NUPLAN_PLANNER': $NUPLAN_PLANNER
network_mode: "host"
depends_on:
- submission
entrypoint: /nuplan_devkit/nuplan/entrypoint_simulation.sh