Skip to content

Commit 0c4123d

Browse files
committed
Remove network separation
Trying to fix communication issues
1 parent ccb33b7 commit 0c4123d

File tree

2 files changed

+13
-49
lines changed

2 files changed

+13
-49
lines changed

config/caddy/Caddyfile.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ gc.{{ field_name }}.{{ root_domain }} {
4646
{% for user in gc_users %}{{ user.name }} {{ user.hash }}
4747
{% endfor %}
4848
}
49-
reverse_proxy ssl-game-controller-private:8081
49+
reverse_proxy ssl-game-controller:8081
5050
}
5151

5252
vision.{{ field_name }}.{{ root_domain }} {

docker-compose.yaml

Lines changed: 12 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ services:
6060

6161
ssl-vision-client:
6262
image: robocupssl/ssl-vision-client:1.8.2
63-
command: [ "-visionAddress", "224.5.23.2:10006" ]
63+
command: [ "-visionAddress", "224.5.23.2:10020" ]
6464
restart: unless-stopped
6565
ports:
6666
- "8082/tcp"
@@ -77,15 +77,15 @@ services:
7777
- match
7878
- expose
7979

80-
ssl-game-controller-private:
80+
ssl-game-controller:
8181
image: robocupssl/ssl-game-controller:3.13.1
8282
command:
8383
- "-visionAddress"
84-
- "224.5.23.2:11006"
84+
- "224.5.23.2:10020"
8585
- "-trackerAddress"
86-
- "224.5.23.2:11010"
86+
- "224.5.23.2:10010"
8787
- "-publishAddress"
88-
- "224.5.23.1:11003"
88+
- "224.5.23.1:10003"
8989
- "-address"
9090
- ":8081"
9191
restart: unless-stopped
@@ -94,28 +94,10 @@ services:
9494
ports:
9595
- "8081/tcp"
9696
networks:
97-
- referee
98-
- expose
99-
100-
ssl-game-controller-public:
101-
image: g3force/proxy-tcp-udp-mc:0.3.0
102-
command:
103-
- "tcp,:10007,ssl-game-controller-private:10007,AutoRef"
104-
- "tcp,:10008,ssl-game-controller-private:10008,Team"
105-
- "tcp,:10011,ssl-game-controller-private:10011,RemoteCtrl"
106-
- "mc,224.5.23.1:11003,224.5.23.1:10003,Referee"
107-
- "mc,224.5.23.2:10006,224.5.23.2:11006,Vision"
108-
- "mc,224.5.23.2:10010,224.5.23.2:11010,Tracker"
109-
restart: unless-stopped
110-
ports:
111-
- "10007/tcp"
112-
- "10008/tcp"
113-
- "10011/tcp"
114-
networks:
115-
- referee
11697
- match
98+
- expose
11799

118-
simulator-private:
100+
simulator:
119101
image: roboticserlangen/simulatorcli:commit-6a4e1c06533b
120102
# image: robocupssl/grsim:2.4.0
121103
restart: unless-stopped
@@ -128,34 +110,17 @@ services:
128110
- "10301/udp"
129111
- "10302/udp"
130112
networks:
131-
- simulator
132-
133-
simulator:
134-
image: g3force/proxy-tcp-udp-mc:0.3.0
135-
command:
136-
- "udp,:10301,simulator-private:10301,Blue"
137-
- "udp,:10302,simulator-private:10302,Yellow"
138-
- "mc,224.5.23.2:10020,224.5.23.2:10006,Vision"
139-
- "mc,224.5.23.1:10003,224.5.23.1:11003,Referee"
140-
- "mc,224.5.23.2:10010,224.5.23.2:11010,Tracker"
141-
restart: unless-stopped
142-
ports:
143-
- "10300/udp"
144-
- "10301/udp"
145-
- "10302/udp"
146-
networks:
147-
- simulator
148113
- match
149114

150115
ssl-simulation-controller:
151116
image: robocupssl/ssl-simulation-controller:0.13.0
152117
command:
153118
- "-refereeAddress"
154-
- "224.5.23.1:11003"
119+
- "224.5.23.1:10003"
155120
- "-visionAddress"
156121
- "224.5.23.2:10020"
157122
- "-trackerAddress"
158-
- "224.5.23.2:11010"
123+
- "224.5.23.2:10010"
159124
- "-simControlPort"
160125
- "10300"
161126
- "-robotSpecConfig"
@@ -164,7 +129,7 @@ services:
164129
volumes:
165130
- ./config/ssl-simulation-controller:/config:ro
166131
networks:
167-
- simulator
132+
- match
168133

169134
ssl-auto-recorder:
170135
image: robocupssl/ssl-auto-recorder:1.8.2
@@ -197,7 +162,7 @@ services:
197162
autoref-tigers:
198163
# Run without UI in active mode
199164
image: tigersmannheim/auto-referee:1.5.2
200-
command: [ "-hl", "-a" ]
165+
command: [ "-hl", "-a", "--visionAddress", "224.5.23.2:10020" ]
201166
# Run with UI (note: need to connect to the UI once to start the autoRef)
202167
# image: tigersmannheim/auto-referee-vnc:1.5.2
203168
# command: [ "vnc", "-a" ]
@@ -214,6 +179,7 @@ services:
214179
image: roboticserlangen/autoref:2025.0.0
215180
# Run with UI (note: need to connect to the UI once to start the autoRef)
216181
# command: [ "vnc" ]
182+
command: [ "--vision-port", "10020" ]
217183
restart: unless-stopped
218184
environment:
219185
- VNC_PASSWORD=${VNC_PW}
@@ -236,6 +202,4 @@ volumes:
236202
networks:
237203
expose:
238204
match:
239-
simulator:
240-
referee:
241205
guacamole:

0 commit comments

Comments
 (0)