-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yaml
138 lines (138 loc) · 4.11 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
version: "3.8"
services:
workspace:
image: pequi-vsss
container_name: pequi-vsss-ws
stdin_open: true
ipc: 'host'
network_mode: "host"
privileged: true
build:
context: .
dockerfile: dockerfile
volumes:
- ./:/root/src/
- $HOME/.Xauthority:/root/.Xauthority:rw
- /tmp/.X11-unix:/tmp/.X11-unix
environment:
- DISPLAY=unix$DISPLAY
pequi:
image: pequi-vsss
container_name: pequi-vsss-run
ipc: 'host'
network_mode: "host"
privileged: true
build:
context: .
dockerfile: dockerfile
volumes:
- ./:/root/src/
- $HOME/.Xauthority:/root/.Xauthority:rw
- /tmp/.X11-unix:/tmp/.X11-unix
environment:
- DISPLAY=unix$DISPLAY
working_dir: /root/src
command: bash -c "cd ./build && cmake .. && make -j$$(nproc) && cd .. && /root/src/VSSS"
yellow_headless:
image: pequi-vsss
container_name: pequi-vsss-yellow-headless
stdin_open: true
ipc: 'host'
network_mode: "host"
build:
context: .
dockerfile: dockerfile
working_dir: /root/VSSS
command: /root/VSSS/VSSS yellow_headless.json
blue_headless:
image: pequi-vsss
container_name: pequi-vsss-blue-headless
stdin_open: true
ipc: 'host'
network_mode: "host"
build:
context: .
dockerfile: dockerfile
working_dir: /root/VSSS
command: /root/VSSS/VSSS blue_headless.json
both_headless:
image: pequi-vsss
container_name: pequi-vsss-both-headless
stdin_open: true
ipc: 'host'
network_mode: "host"
build:
context: .
dockerfile: dockerfile
working_dir: /root/VSSS
command: /root/VSSS/VSSS both_headless.json
firasim_gui:
image: pequi-vsss
container_name: pequi-firasim
stdin_open: true
ipc: 'host'
network_mode: "host"
privileged: true
build:
context: .
dockerfile: dockerfile
volumes:
- $HOME/.Xauthority:/root/.Xauthority:rw
- /tmp/.X11-unix:/tmp/.X11-unix
environment:
- DISPLAY=unix$DISPLAY
working_dir: /root/FIRASim/bin
command: /root/FIRASim/bin/FIRASim
firasim_headless:
image: pequi-vsss
container_name: pequi-firasim-headless
stdin_open: true
ipc: 'host'
network_mode: "host"
privileged: true
build:
context: .
dockerfile: dockerfile
volumes:
- $HOME/.Xauthority:/root/.Xauthority:rw
- /tmp/.X11-unix:/tmp/.X11-unix
environment:
- DISPLAY=unix$DISPLAY
working_dir: /root/FIRASim/bin
command: /root/FIRASim/bin/FIRASim --headless
referee:
image: pequi-vsss
container_name: pequi-referee
stdin_open: true
ipc: 'host'
network_mode: "host"
privileged: true
build:
context: .
dockerfile: dockerfile
volumes:
- $HOME/.Xauthority:/root/.Xauthority:rw
- /tmp/.X11-unix:/tmp/.X11-unix
environment:
- DISPLAY=unix$DISPLAY
working_dir: /root/VSSReferee/bin
command: /root/VSSReferee/bin/VSSReferee --3v3 --record false
fast_simulation:
image: pequi-vsss
container_name: pequi-fast-simulation
ipc: 'host'
network_mode: "host"
privileged: true
stdin_open: true
tty: true
build:
context: .
dockerfile: dockerfile
volumes:
- ./:/root/src/
- $HOME/.Xauthority:/root/.Xauthority:rw
- /tmp/.X11-unix:/tmp/.X11-unix
environment:
- DISPLAY=unix$DISPLAY
working_dir: /root/src
command: bash -c "cd /root/src/build && cmake .. && make -j$$(nproc) && cd .. && /root/src/python/run_simulations.py"