--- application_id: "web-app-bigbluebutton" entity_name: "{{ application_id | get_entity_name }}" compose_mode_force: compose domain: "{{ lookup('domain',application_id) }}" http_port: "{{ lookup('config', application_id, 'services.bigbluebutton.ports.local.http') }}" BBB_REPOSITORY: "{{ lookup('config', 'web-app-bigbluebutton', 'services.' ~ ('web-app-bigbluebutton' | get_entity_name) ~ '.repository') }}" BBB_REF: "{{ lookup('config', 'web-app-bigbluebutton', 'services.' ~ ('web-app-bigbluebutton' | get_entity_name) ~ '.ref') }}" BBB_PINNED_SERVICES: "{{ lookup('config', application_id, 'services') | dict2items | selectattr('value.image', 'defined') | map(attribute='key') | list }}" _BBB_COTURN_ROLE: "web-svc-coturn" BBB_SHARED_SECRET: "{{ lookup('config', application_id, 'secrets.credentials.shared_secret') }}" BBB_RAILS_SECRET: "{{ lookup('config', application_id, 'secrets.credentials.rails_secret') }}" BBB_POSTGRESQL_SECRET: "{{ lookup('config', application_id, 'secrets.credentials.postgresql_secret') }}" BBB_FSESL_PASSWORD: "{{ lookup('config', application_id, 'secrets.credentials.fsesl_password') }}" BBB_TURN_SECRET_LOCAL: "{{ lookup('config', application_id, 'secrets.credentials.turn_secret') }}" BBB_TURN_SECRET_SHARED: "{{ lookup('config',_BBB_COTURN_ROLE, 'secrets.credentials.auth_secret') }}" BBB_TURN_SECRET: "{{ BBB_COTURN_LOCAL_ENABLED | bool | ternary (BBB_TURN_SECRET_LOCAL, BBB_TURN_SECRET_SHARED) }}" BBB_COTURN_TLS_CERT_PATH: "{{ lookup('cert', application_id, 'files.cert') }}" BBB_COTURN_TLS_KEY_PATH: "{{ lookup('cert', application_id, 'files.key') }}" BBB_COTURN_LOCAL_ENABLED: "{{ not (lookup('config',application_id, 'services.coturn.shared')) }}" BBB_TURN_DOMAIN: "{{ networks.internet.ip4 if BBB_COTURN_LOCAL_ENABLED else lookup('domain',_BBB_COTURN_ROLE) }}" BBB_TURN_PORT: "{{ lookup('config', application_id, 'services.bigbluebutton.ports.public.stun_turn') if BBB_COTURN_LOCAL_ENABLED else lookup('config', _BBB_COTURN_ROLE, 'services.coturn.ports.public.stun_turn') }}" BBB_TURN_PROTOCOL: "{{ 'turns' if (lookup('tls', application_id, 'enabled') | bool) else 'turn' }}" BBB_STUN_PORT: "{{ lookup('config', application_id, 'services.bigbluebutton.ports.public.stun_turn') if BBB_COTURN_LOCAL_ENABLED else lookup('config', _BBB_COTURN_ROLE, 'services.coturn.ports.public.stun_turn_tls') }}" BBB_RELAY_PORT_START: "{{ lookup('config', application_id, 'services.bigbluebutton.ports.public.relay.start') }}" BBB_RELAY_PORT_END: "{{ lookup('config', application_id, 'services.bigbluebutton.ports.public.relay.end') }}" BBB_COLLABORA_ENABLED: "{{ not (lookup('config',application_id, 'services.collabora.shared')) }}" BBB_COLLABORA_PORT: "{{ lookup('config', 'web-svc-collabora', 'services.collabora.ports.internal.http') }}" BBB_COLLABORA_URL: "{{ ('https://collabora:' ~ BBB_COLLABORA_PORT ~ '/cool') if BBB_COLLABORA_ENABLED else ((lookup('tls', 'web-svc-collabora', 'url.base'))) }}" BBB_RECORDING_ENABLED: "{{ lookup('config', application_id, 'services.'~ entity_name ~'.recording.enabled') }}" BBB_RECORDING_CLEANUP_ENABLED: "{{ lookup('config', application_id, 'services.'~ entity_name ~'.recording.cleanup') }}" BBB_RECORDING_MAX_AGE_DAYS: "{{ lookup('config', application_id, 'services.'~ entity_name ~'.recording.max_age_days') }}" BBB_IP6_ENABLED: "{{ lookup('config', application_id, 'server.ip6_enabled') }}" BBB_GREENLIGHT_ENABLED: "{{ lookup('config', application_id, 'services.greenlight.enabled') }}" BBB_POSTGRES_CONTAINER_ADDRESS: "{{ lookup('container_address', application_id, 'postgres') }}" BBB_GREENLIGHT_CONTAINER_ADDRESS: "{{ lookup('container_address', application_id, 'greenlight') }}" BBB_LDAP_ENABLED: "{{ lookup('config', application_id, 'services.ldap.enabled') }}" BBB_OIDC_ENABLED: "{{ lookup('config', application_id, 'services.sso.enabled') }}"