File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ HEALTHCHECK \
200200WORKDIR /$HOME
201201USER $USER
202202VOLUME ["/$HOME" ]
203- EXPOSE 1880 1883 4369-4399 5210 5222 5269 5280 5443
203+ EXPOSE 1880 1883 4369-4399 5210 5222 5269 5280 5443 5478 50000-50099
204204
205205ENTRYPOINT ["/sbin/tini" ,"--" ,"ejabberdctl" ]
206206CMD ["foreground" ]
Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ define_macro:
2424 PORT_HTTP: 5280
2525 PORT_BROWSER: 1880
2626 PORT_STUN: 5478
27+ PORT_TURN_MIN: 50000
28+ PORT_TURN_MAX: 50099
2729 PORT_MQTT: 1883
2830 PORT_PROXY65: 7777
2931
@@ -102,6 +104,8 @@ listen:
102104 transport: udp
103105 module: ejabberd_stun
104106 use_turn: true
107+ turn_min_port: PORT_TURN_MIN
108+ turn_max_port: PORT_TURN_MAX
105109 ## The server's public IPv4 address:
106110 # turn_ipv4_address: "203.0.113.3"
107111 ## The server's public IPv6 address:
You can’t perform that action at this time.
0 commit comments