Configuring the TURN Server for Docker

You can configure the Sametime Meeting server to enable a TURN server on port 443 for Docker.

Procedure

  1. Add following configuration in the custom.env file.
    # Enable TURN for JVB (bridge mode) connections
    TURN_ENABLE=1
    
    # Secret for connect to TURN server
    # Add the same secret that you used to configure TURN server.
    TURN_SECRET=secret
    
    # Announce FQDN/IP address of the turn server via XMPP server (XEP-0215).
    # If empty or not set, variable DOCKER_HOST_ADDRESS will be used by default.
    TURN_HOST=turn.example.com
    
    # TLS/TCP/UDP turn port for connection
    TURN_PORT=443
    
    # Transport for stun/turn connection. Can be tcp or udp.
    TURN_TRANSPORT=tcp
    
  2. Add following configuration in .env file.
    GLOBAL_MODULES=turncredentials
    
    # Enable TURN server
    JVB_STUN_SERVERS=<TURN-server-name>:<Port>
    
  3. Restart Docker.
    docker-compose up -d