mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-11-04 04:08:15 +00:00 
			
		
		
		
	- Removed ?transport=udp from Nextcloud Talk TURN server definitions - Dropped --no-tcp-relay to allow TCP fallback - Removed invalid UDP mapping on TLS port - Introduced switch between REST secret auth and lt-cred-mech via COTURN_USER_AUTH_ENABLED - Added user_auth_enabled flag in coturn config for flexibility See: https://chatgpt.com/share/68d7d601-3558-800f-bc84-00d7e8fc3243
		
			
				
	
	
		
			41 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Django/Jinja
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Django/Jinja
		
	
	
	
	
	
services:
 | 
						|
  webrtc-sfu:
 | 
						|
    environment:
 | 
						|
      MS_WORKERS: "1"
 | 
						|
      MS_ENABLE_IPV6: "false"
 | 
						|
      MS_WEBRTC_LISTEN_IPS: >-
 | 
						|
        [{"ip":"0.0.0.0","announcedIp":"${EXTERNAL_IPv4}"}]
 | 
						|
{% if BBB_COTURN_ENABLED | bool %}
 | 
						|
  coturn:
 | 
						|
    ports:
 | 
						|
      - "{{ BBB_TURN_PORT }}:{{ BBB_TURN_PORT }}/udp"
 | 
						|
      - "{{ BBB_TURN_PORT }}:{{ BBB_TURN_PORT }}/tcp"
 | 
						|
      - "{{ BBB_STUN_PORT }}:{{ BBB_STUN_PORT }}/udp"
 | 
						|
      - "{{ BBB_STUN_PORT }}:{{ BBB_STUN_PORT }}/tcp"
 | 
						|
      - "{{ BBB_RELAY_PORT_RANGE }}/udp"
 | 
						|
    command: >-
 | 
						|
      --use-auth-secret
 | 
						|
      --static-auth-secret=${TURN_SECRET}
 | 
						|
      --lt-cred-mech
 | 
						|
      --realm=${DOMAIN}
 | 
						|
      --fingerprint
 | 
						|
      --no-multicast-peers
 | 
						|
      --no-cli
 | 
						|
      --min-port={{ BBB_RELAY_PORT_START }}
 | 
						|
      --max-port={{ BBB_RELAY_PORT_END }}
 | 
						|
      --external-ip=${EXTERNAL_IPv4}
 | 
						|
      {% if BBB_IP6_ENABLED %}--external-ip=${EXTERNAL_IPv6}{% endif %}
 | 
						|
      --cert=${COTURN_TLS_CERT_PATH}
 | 
						|
      --pkey=${COTURN_TLS_KEY_PATH}
 | 
						|
{% endif %}
 | 
						|
{% if BBB_COLLABORA_ENABLED | bool %}
 | 
						|
  bbb-web:
 | 
						|
    depends_on:
 | 
						|
      - redis
 | 
						|
      - etherpad
 | 
						|
      - bbb-pads
 | 
						|
  etherpad:
 | 
						|
    depends_on:
 | 
						|
      - redis
 | 
						|
{% endif %}
 |