BigBlueButton & Nextcloud:

- Switch to custom BBB Docker repository
- Externalize Coturn and Collabora by default
- Add dedicated 03_dependencies.yml for dependency handling
- Improve env templating with lowercased feature flags
- Add conditional healthcheck for Greenlight
- Refactor TURN/STUN/relay handling with role variable _BBB_COTURN_ROLE
- Extend Collabora/Greenlight dependency wiring in override file
- Nextcloud Talk: refine vars and enable/disable logic with separate plugin/service flags, add network_mode support and conditional nginx proxy block

Ref: https://chatgpt.com/share/68d741ff-a544-800f-9e81-a565e0bab0eb
This commit is contained in:
2025-09-27 03:46:57 +02:00
parent 85db0a40db
commit 7405883b48
12 changed files with 90 additions and 46 deletions

View File

@@ -5,6 +5,7 @@ services:
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"
@@ -27,3 +28,19 @@ services:
{% if BBB_IP6_ENABLED %}--external-ip=${EXTERNAL_IPv6}{% endif %}
--cert=${COTURN_TLS_CERT_PATH}
--pkey=${COTURN_TLS_KEY_PATH}
{% endif %}
{% if BBB_GREENLIGHT_ENABLED | bool %}
greenlight:
{% set container_port = 3000 %}
{% include 'roles/docker-container/templates/healthcheck/nc.yml.j2' %}
{% endif %}
{% if BBB_COLLABORA_ENABLED | bool %}
bbb-web:
depends_on:
- redis
- etherpad
- bbb-pads
etherpad:
depends_on:
- redis
{% endif %}

View File

@@ -1,11 +1,15 @@
# Coturn
ENABLE_COTURN={{ BBB_INTERNAL_COTURN_ENABLED }}
ENABLE_COTURN={{ BBB_COTURN_ENABLED | lower }}
# Collabora
ENABLE_COLLABORA={{ BBB_COLLABORA_ENABLED | lower }}
COLLABORA_URL={{ BBB_COLLABORA_URL }}
## Credentials
COTURN_TLS_CERT_PATH={{ BBB_COTURN_TLS_CERT_PATH }}
COTURN_TLS_KEY_PATH={{ BBB_COTURN_TLS_KEY_PATH }}
ENABLE_GREENLIGHT={{ BBB_GREENLIGHT_ENABLED }}
ENABLE_GREENLIGHT={{ BBB_GREENLIGHT_ENABLED | lower }}
# Enable Webhooks
# used by some integrations