forked from RoboCup-SSL/ssl-simulation-setup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
242 lines (225 loc) · 5.59 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
version: '2.4'
services:
caddy:
image: caddy:2-alpine
restart: unless-stopped
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.4.0
restart: unless-stopped
volumes:
- guacd-drive:/drive:rw
- guacd-record:/record:rw
networks:
- guacamole
- match
postgres:
image: postgres:13
restart: unless-stopped
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.4.0
restart: unless-stopped
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.6.0
command: [ "-visionAddress", "224.5.23.2:10006" ]
restart: unless-stopped
ports:
- 8082/tcp
networks:
- match
- expose
ssl-status-board:
image: robocupssl/ssl-status-board:2.5.0
restart: unless-stopped
ports:
- 8082/tcp
networks:
- match
- expose
ssl-game-controller-private:
image: robocupssl/ssl-game-controller:2.15.4
command:
- "-visionAddress"
- "224.5.23.2:11006"
- "-trackerAddress"
- "224.5.23.2:11010"
- "-publishAddress"
- "224.5.23.1:11003"
- "-address"
- ":8081"
restart: unless-stopped
volumes:
- ssl-game-controller-config:/config:rw
ports:
- 8081/tcp
networks:
- referee
- expose
ssl-game-controller-public:
image: g3force/proxy-tcp-udp-mc:0.2.0
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
ports:
- 10007/tcp
- 10008/tcp
- 10011/tcp
networks:
- referee
- match
simulator-private:
image: roboticserlangen/simulatorcli:commit-6a4e1c06533b
# image: robocupssl/grsim:2.4.0
restart: unless-stopped
environment:
# ER-Force options
GEOMETRY: "2020"
REALISM: "RC2021"
ports:
- 10300/udp
- 10301/udp
- 10302/udp
networks:
- simulator
simulator:
image: g3force/proxy-tcp-udp-mc:0.2.0
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
ports:
- 10300/udp
- 10301/udp
- 10302/udp
networks:
- simulator
- match
ssl-simulation-controller:
image: robocupssl/ssl-simulation-controller:0.10.2
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
volumes:
- ./config/ssl-simulation-controller:/config:ro
networks:
- simulator
ssl-auto-recorder:
image: robocupssl/ssl-auto-recorder:0.2.2
restart: unless-stopped
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:0.14.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
environment:
- VNC_PASSWORD=${VNC_PW}
ports:
- 5900/tcp
networks:
- match
- guacamole
autoref-erforce:
image: roboticserlangen/autoref:commit-e7313ef21be6
# Run with UI (note: need to connect to the UI once to start the autoRef)
# command: [ "vnc" ]
restart: unless-stopped
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: