forked from RoboCup-SSL/ssl-simulation-setup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
270 lines (253 loc) · 6.03 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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
version: '2.4'
services:
caddy:
image: caddy:2.2.1-alpine
restart: unless-stopped
mem_limit: 100m
cpus: 1
ports:
- "80:80/tcp"
- "443:443/tcp"
volumes:
- ./caddy/init/Caddyfile:/etc/caddy/Caddyfile
- ./caddy/init/site:/srv
- caddy_data:/data
- caddy_config:/config
- ssl-auto-recorder-data:/srv/recordings:ro
networks:
- expose
guacd:
image: guacamole/guacd:1.3.0
restart: unless-stopped
mem_limit: 500m
cpus: 1
volumes:
- guacd-drive:/drive:rw
- guacd-record:/record:rw
networks:
- guacamole
- match
postgres:
image: postgres:13
restart: unless-stopped
mem_limit: 500m
cpus: 1
environment:
PGDATA: /var/lib/postgresql/data/guacamole
POSTGRES_DB: guacamole_db
POSTGRES_PASSWORD:
POSTGRES_USER: guacamole_user
ports:
- 5432/tcp
volumes:
- ./init/postgres:/docker-entrypoint-initdb.d:ro
- postgres-data:/var/lib/postgresql/data:rw
networks:
- guacamole
guacamole:
image: guacamole/guacamole:1.3.0
restart: unless-stopped
mem_limit: 2g
cpus: 2
environment:
GUACD_HOSTNAME: guacd
POSTGRES_DATABASE: guacamole_db
POSTGRES_HOSTNAME: postgres
POSTGRES_PASSWORD:
POSTGRES_USER: guacamole_user
depends_on:
- guacd
- postgres
ports:
- 8080/tcp # Guacamole is on :8080/guacamole, not /.
networks:
- guacamole
- expose
ssl-vision-client:
image: robocupssl/ssl-vision-client:1.5.1
command: [ "-visionAddress", "224.5.23.2:10006" ]
restart: unless-stopped
mem_limit: 100m
cpus: 1
ports:
- 8082/tcp
networks:
- match
- expose
ssl-status-board:
image: robocupssl/ssl-status-board:2.3.0
restart: unless-stopped
mem_limit: 100m
cpus: 1
ports:
- 8082/tcp
networks:
- match
- expose
ssl-game-controller-private:
image: robocupssl/ssl-game-controller:2.12.0
command:
- "-visionAddress"
- "224.5.23.2:11006"
- "-trackerAddress"
- "224.5.23.2:11010"
- "-publishAddress"
- "224.5.23.1:11003"
- "-address"
- ":8081"
restart: unless-stopped
mem_limit: 100m
cpus: 1
volumes:
- ssl-game-controller-config:/config:rw
ports:
- 8081/tcp
networks:
- referee
- expose
ssl-game-controller-public:
image: g3force/proxy-tcp-udp-mc:0.1.1
command:
- "tcp,:10007,ssl-game-controller-private:10007,AutoRef"
- "tcp,:10008,ssl-game-controller-private:10008,Team"
- "tcp,:10011,ssl-game-controller-private:10011,RemoteCtrl"
- "mc,224.5.23.1:11003,224.5.23.1:10003,Referee"
- "mc,224.5.23.2:10006,224.5.23.2:11006,Vision"
- "mc,224.5.23.2:10010,224.5.23.2:11010,Tracker"
restart: unless-stopped
mem_limit: 100m
cpus: 1
ports:
- 10007/tcp
- 10008/tcp
- 10011/tcp
networks:
- referee
- match
simulator-private:
image: roboticserlangen/simulatorcli:commit-c53a2f401013
# image: robocupssl/grsim:2.4.0
restart: unless-stopped
environment:
# ER-Force options
GEOMETRY: "2020"
REALISM: "RC2021"
mem_limit: 100m
cpus: 1
ports:
- 10300/udp
- 10301/udp
- 10302/udp
networks:
- simulator
simulator:
image: g3force/proxy-tcp-udp-mc:0.1.1
command:
- "udp,:10301,simulator-private:10301,Blue"
- "udp,:10302,simulator-private:10302,Yellow"
- "mc,224.5.23.2:10020,224.5.23.2:10006,Vision"
- "mc,224.5.23.1:10003,224.5.23.1:11003,Referee"
- "mc,224.5.23.2:10010,224.5.23.2:11010,Tracker"
restart: unless-stopped
mem_limit: 100m
cpus: 1
ports:
- 10300/udp
- 10301/udp
- 10302/udp
networks:
- simulator
- match
ssl-simulation-controller:
image: robocupssl/ssl-simulation-controller:0.7.5
command:
- "-refereeAddress"
- "224.5.23.1:11003"
- "-visionAddress"
- "224.5.23.2:10020"
- "-trackerAddress"
- "224.5.23.2:11010"
- "-simControlPort"
- "10300"
- "-robotSpecConfig"
- "/config/robot-specs.yaml"
restart: unless-stopped
mem_limit: 100m
cpus: 1
volumes:
- ./config/ssl-simulation-controller:/config:ro
networks:
- simulator
ssl-auto-recorder:
image: robocupssl/ssl-auto-recorder:0.2.1
restart: unless-stopped
mem_limit: 200m
cpus: 1
volumes:
- ssl-auto-recorder-data:/data:rw
networks:
- match
# Maintainer is a container for the maintainers of the event for testing purposes
maintainer:
image: robocupssl/ubuntu-vnc-go:0.3.1
restart: unless-stopped
mem_limit: 2g
cpus: 2
environment:
SSH_PUBLIC_KEY:
VNC_PW:
volumes:
- maintainer-data:/home/default:rw
- ssl-auto-recorder-data:/ssl-auto-recorder-data:rw
- ssl-game-controller-config:/ssl-game-controller-config:rw
ports:
- 5901/tcp
- 2222/tcp
networks:
- match
- guacamole
autoref-tigers:
image: tigersmannheim/auto-referee-vnc:0.13.0
# Run with UI (note: need to connect to the UI once to start the autoRef)
# command: [ "vnc", "-a" ]
# Run without UI in active mode
command: [ "-a" ]
restart: unless-stopped
mem_limit: 2g
cpus: 2
environment:
- VNC_PASSWORD=${VNC_PW}
ports:
- 5900/tcp
networks:
- match
- guacamole
autoref-erforce:
image: roboticserlangen/autoref:commit-0664dc315b7b
# Run with UI (note: need to connect to the UI once to start the autoRef)
# command: [ "vnc" ]
restart: unless-stopped
mem_limit: 512m
cpus: 1
environment:
- VNC_PASSWORD=${VNC_PW}
ports:
- 5900/tcp
networks:
- match
- guacamole
volumes:
caddy_data:
caddy_config:
guacd-drive:
guacd-record:
postgres-data:
ssl-game-controller-config:
maintainer-data:
ssl-auto-recorder-data:
networks:
expose:
match:
simulator:
referee:
guacamole: