diff --git a/.github/container/Dockerfile b/.github/container/Dockerfile index 87a115b6d..49d98a1e3 100644 --- a/.github/container/Dockerfile +++ b/.github/container/Dockerfile @@ -200,7 +200,7 @@ HEALTHCHECK \ WORKDIR /$HOME USER $USER VOLUME ["/$HOME"] -EXPOSE 1880 1883 4369-4399 5210 5222 5269 5280 5443 +EXPOSE 1880 1883 4369-4399 5210 5222 5269 5280 5443 5478 50000-50099 ENTRYPOINT ["/sbin/tini","--","ejabberdctl"] CMD ["foreground"] diff --git a/.github/container/ejabberd.yml.example b/.github/container/ejabberd.yml.example index bbf213fbe..7c485a699 100644 --- a/.github/container/ejabberd.yml.example +++ b/.github/container/ejabberd.yml.example @@ -24,6 +24,8 @@ define_macro: PORT_HTTP: 5280 PORT_BROWSER: 1880 PORT_STUN: 5478 + PORT_TURN_MIN: 50000 + PORT_TURN_MAX: 50099 PORT_MQTT: 1883 PORT_PROXY65: 7777 @@ -102,6 +104,8 @@ listen: transport: udp module: ejabberd_stun use_turn: true + turn_min_port: PORT_TURN_MIN + turn_max_port: PORT_TURN_MAX ## The server's public IPv4 address: # turn_ipv4_address: "203.0.113.3" ## The server's public IPv6 address: