Optimized bbb variables

This commit is contained in:
Kevin Veen-Birkenbach 2025-08-23 19:21:07 +02:00
parent 8b2f0ac47b
commit 6016da6f1f
No known key found for this signature in database
GPG Key ID: 44D8F11FD62F878E
3 changed files with 28 additions and 20 deletions

View File

@ -27,17 +27,17 @@ RECORDING_MAX_AGE_DAYS=365
# SECRETS
# ====================================
# important! change these to any random values
SHARED_SECRET={{applications | get_app_conf(application_id, 'credentials.shared_secret', True)}}
ETHERPAD_API_KEY={{applications | get_app_conf(application_id, 'credentials.etherpad_api_key', True)}}
RAILS_SECRET={{applications | get_app_conf(application_id, 'credentials.rails_secret', True)}}
POSTGRESQL_SECRET={{applications | get_app_conf(application_id, 'credentials.postgresql_secret', True)}}
FSESL_PASSWORD={{applications | get_app_conf(application_id, 'credentials.fsesl_password', True)}}
SHARED_SECRET={{ BBB_SHARED_SECRET }}
ETHERPAD_API_KEY={{ BBB_ETHERPAD_API_KEY }}
RAILS_SECRET={{ BBB_RAILS_SECRET }}
POSTGRESQL_SECRET={{ BBB_POSTGRESQL_SECRET }}
FSESL_PASSWORD={{ BBB_FSESL_PASSWORD }}
# ====================================
# CONNECTION
# ====================================
DOMAIN={{ domains | get_domain(application_id) }}
DOMAIN={{ domain }}
EXTERNAL_IPv4={{ networks.internet.ip4 }}
# The following line is not tested and could lead to bugs:
@ -50,8 +50,8 @@ STUN_PORT={{ ports.public.stun[application_id] }}
# TURN SERVER
# uncomment and adjust following two lines to add an external TURN server
TURN_SERVER=turns:{{ domains | get_domain(application_id) }}:{{ ports.public.turn[application_id] }}?transport=tcp
TURN_SECRET={{applications | get_app_conf(application_id, 'credentials.turn_secret', True)}}
TURN_SERVER=turns:{{ domain }}:{{ ports.public.turn[application_id] }}?transport=tcp
TURN_SECRET={{ BBB_TURN_SECRET }}
# Allowed SIP IPs
# due to high traffic caused by bots, by default the SIP port is blocked.

View File

@ -17,3 +17,11 @@ docker_compose_skipp_file_creation: true # Handled in this role
docker_repository_address: "{{ applications | get_app_conf(application_id, 'docker.services.bigbluebutton.repository') }}"
docker_repository_branch: "{{ applications | get_app_conf(application_id, 'docker.services.bigbluebutton.version') }}"
docker_pull_git_repository: true
# BigBlueButton
BBB_SHARED_SECRET: "{{ applications | get_app_conf(application_id, 'credentials.shared_secret') }}"
BBB_ETHERPAD_API_KEY: "{{ applications | get_app_conf(application_id, 'credentials.etherpad_api_key') }}"
BBB_RAILS_SECRET: "{{ applications | get_app_conf(application_id, 'credentials.rails_secret') }}"
BBB_POSTGRESQL_SECRET: "{{ applications | get_app_conf(application_id, 'credentials.postgresql_secret') }}"
BBB_FSESL_PASSWORD: "{{ applications | get_app_conf(application_id, 'credentials.fsesl_password') }}"
BBB_TURN_SECRET: "{{ applications | get_app_conf(application_id, 'credentials.turn_secret') }}"