diff --git a/roles/web-app-bigbluebutton/config/main.yml b/roles/web-app-bigbluebutton/config/main.yml index 96a6869e..7d9a3cba 100644 --- a/roles/web-app-bigbluebutton/config/main.yml +++ b/roles/web-app-bigbluebutton/config/main.yml @@ -24,8 +24,12 @@ credentials: {} docker: services: bigbluebutton: - repository: "https://github.com/kevinveenbirkenbach/bigbluebutton-docker.git" - version: "bbb3.0" + repository: "https://github.com/kevinveenbirkenbach/bigbluebutton-docker.git" + version: "bbb3.0" + recording: + enabled: true # Enable recordings of sessions + cleanup: true # Auto-Cleanup Recordings + max_age_days: 30 # Cleanup recording after this amount of days database: # This is set to true to pass integration test, doesn't have any other function enabled: true diff --git a/roles/web-app-bigbluebutton/templates/env.j2 b/roles/web-app-bigbluebutton/templates/env.j2 index 1973acb7..0dc84dd3 100644 --- a/roles/web-app-bigbluebutton/templates/env.j2 +++ b/roles/web-app-bigbluebutton/templates/env.j2 @@ -22,14 +22,9 @@ ENABLE_GREENLIGHT={{ BBB_GREENLIGHT_ENABLED | lower }} #ENABLE_PROMETHEUS_EXPORTER_OPTIMIZATION=true # Recording -# IMPORTANT: this is currently a big privacy issues, because it will -# record everything which happens in the conference, even when the button -# suggets, that it does not. -# https://github.com/bigbluebutton/bigbluebutton/issues/9202 -# make sure that you get peoples consent, before they join a room -ENABLE_RECORDING=false -REMOVE_OLD_RECORDING=true -RECORDING_MAX_AGE_DAYS=365 +ENABLE_RECORDING={{ BBB_RECORDING_ENABLED | lower }} +REMOVE_OLD_RECORDING={{ BBB_RECORDING_CLEANUP_ENABLED | lower }} +RECORDING_MAX_AGE_DAYS={{ BBB_RECORDING_MAX_AGE_DAYS }} # ==================================== # SECRETS diff --git a/roles/web-app-bigbluebutton/vars/main.yml b/roles/web-app-bigbluebutton/vars/main.yml index 70f1749c..8450c458 100644 --- a/roles/web-app-bigbluebutton/vars/main.yml +++ b/roles/web-app-bigbluebutton/vars/main.yml @@ -43,11 +43,16 @@ BBB_RELAY_PORT_START: "{{ ports.public.relay_port_ranges[applica BBB_RELAY_PORT_END: "{{ ports.public.relay_port_ranges[application_id ~ '_end'] }}" BBB_RELAY_PORT_RANGE: "{{ BBB_RELAY_PORT_START }}-{{ BBB_RELAY_PORT_END }}" -# Collabora +## Collabora BBB_COLLABORA_ENABLED: "{{ applications | get_app_conf(application_id, 'docker.services.collabora.internal') }}" BBB_COLLABORA_URL: "{{ 'https://collabora:9980/cool' if BBB_COLLABORA_ENABLED else (domains | get_url('web-svc-collabora', WEB_PROTOCOL)) }}" -## Switchs +### Recording +BBB_RECORDING_ENABLED: "{{ applications | get_app_conf(application_id, 'docker.services.'~ entity_name ~'.recording.enabled') }}" +BBB_RECORDING_CLEANUP_ENABLED: "{{ applications | get_app_conf(application_id, 'docker.services.'~ entity_name ~'.recording.cleanup') }}" +BBB_RECORDING_MAX_AGE_DAYS: "{{ applications | get_app_conf(application_id, 'docker.services.'~ entity_name ~'.recording.max_age_days') }}" + +## Additional Switchs ### Network BBB_IP6_ENABLED: "{{ applications | get_app_conf(application_id, 'server.ip6_enabled') }}" @@ -57,4 +62,4 @@ BBB_GREENLIGHT_ENABLED: "{{ applications | get_app_conf(applicatio ### SSO BBB_LDAP_ENABLED: "{{ applications | get_app_conf(application_id, 'features.ldap') }}" -BBB_OIDC_ENABLED: "{{ applications | get_app_conf(application_id, 'features.oidc') }}" +BBB_OIDC_ENABLED: "{{ applications | get_app_conf(application_id, 'features.oidc') }}" \ No newline at end of file