@@ -98,14 +98,15 @@ services:
9898 - expose
9999
100100 ssl-game-controller-public :
101- image : g3force/proxy-tcp-udp-mc:0.2.1
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"
101+ image : multisocat
102+ build : ./src/multisocat
103+ environment :
104+ SOCAT_AUTOREF : " TCP4-LISTEN:10007,fork TCP4:ssl-game-controller-private:10007"
105+ SOCAT_TEAM : " TCP4-LISTEN:10008,fork TCP4:ssl-game-controller-private:10008"
106+ SOCAT_REMOTECTRL : " TCP4-LISTEN:10011,fork TCP4:ssl-game-controller-private:10011"
107+ SOCAT_REFEREE : " UDP-LISTEN:224.5.23.1:11003 UDP4:224.5.23.1:10003"
108+ SOCAT_VISION : " UDP-LISTEN:224.5.23.2:10006 UDP4:224.5.23.2:11006"
109+ SOCAT_TRACKER : " UDP-LISTEN:224.5.23.2:10010 UDP4:224.5.23.2:11010"
109110 restart : unless-stopped
110111 ports :
111112 - " 10007/tcp"
@@ -131,13 +132,14 @@ services:
131132 - simulator
132133
133134 simulator :
134- image : g3force/proxy-tcp-udp-mc:0.2.1
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"
135+ image : multisocat
136+ build : ./src/multisocat
137+ environment :
138+ SOCAT_BLUE : " UDP-LISTEN:10301 simulator-private:10301"
139+ SOCAT_YELLOW : " UDP-LISTEN:10302 simulator-private:10302"
140+ SOCAT_VISION : " UDP-LISTEN:224.5.23.2:10020 224.5.23.2:10006"
141+ SOCAT_REFEREE : " UDP-LISTEN:224.5.23.1:10003 224.5.23.1:11003"
142+ SOCAT_TRACKER : " UDP-LISTEN:224.5.23.2:10010 224.5.23.2:11010"
141143 restart : unless-stopped
142144 ports :
143145 - " 10300/udp"
0 commit comments