forked from duckietown-ttic/challenge-aido_LF
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-devel.yaml
73 lines (68 loc) · 2.23 KB
/
docker-compose-devel.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'
services:
experiment_manager:
environment:
experiment_manager_parameters: |
episodes_per_scenario: 2
episode_length_s: 1.0
min_episode_length_s: 1.0
seed: 42
physics_dt: 0.05
max_failures: 2
agent_in: /fifos/agent-in
agent_out: /fifos/agent-out
sim_in: /fifos/simulator-in
sim_out: /fifos/simulator-out
sm_in: /fifos/scenario_maker-in
sm_out: /fifos/scenario_maker-out
timeout_initialization: 15
timeout_regular: 30
build:
context: ./experiment_manager
volumes: &volumes
- ./challenges-dir:/challenges
- fifos:/fifos
- ${DT_ENV_DEVELOPER}/src/aido-protocols/src:/project/src/aido-protocols/src:ro
- ${DT_ENV_DEVELOPER}/src/duckietown-world/src:/project/src/duckietown-world/src:ro
- ${DT_ENV_DEVELOPER}/src/gym-duckietown:/project/src/gym-duckietown:ro
- ${DT_ENV_DEVELOPER}/src/duckietown-challenges/src:/project/src/duckietown-challenges/src:ro
#- ${DT_ENV_DEVELOPER}/src/zuper-nodes/src:/project/src/zuper-nodes/src:ro
#- ${DT_ENV_DEVELOPER}/src/zuper-utils/src:/project/src/zuper-utils/src:ro
#- ${DT_ENV_DEVELOPER}/src/zuper-commons/src:/project/src/zuper-commons/src:ro
scenario_maker:
environment:
AIDONODE_DATA_IN: /fifos/scenario_maker-in
AIDONODE_DATA_OUT: fifo:/fifos/scenario_maker-out
AIDONODE_CONFIG: |
maps:
- ETHZ_autolab_technical_track
- udem1
scenarios_per_map: 5
robots_npcs: 4
build:
context: ./scenario_maker
volumes: *volumes
simulator:
build:
context: ./simulator
environment:
AIDONODE_DATA_IN: /fifos/simulator-in
AIDONODE_DATA_OUT: fifo:/fifos/simulator-out
AIDONODE_CONFIG: |
env_constructor: Simulator
env_parameters:
max_steps: 500001 # we don't want the gym to reset itself
domain_rand: 0
camera_width: 640
camera_height: 480
distortion: true
volumes: *volumes
solution:
build:
context: ./minimal_agent
environment:
AIDONODE_DATA_IN: /fifos/agent-in
AIDONODE_DATA_OUT: fifo:/fifos/agent-out
volumes: *volumes
volumes:
fifos: