mirror of
				https://github.com/spantaleev/matrix-docker-ansible-deploy.git
				synced 2025-10-31 15:27:56 +01:00 
			
		
		
		
	GoMatrixHosting v0.5.5
This commit is contained in:
		| @@ -1,261 +0,0 @@ | ||||
| matrix_jitsi_enabled: true | ||||
|  | ||||
| matrix_jitsi_base_path: "{{ matrix_base_data_path }}/jitsi" | ||||
|  | ||||
| matrix_jitsi_enable_auth: false | ||||
| matrix_jitsi_enable_guests: false | ||||
| matrix_jitsi_enable_recording: false | ||||
| matrix_jitsi_enable_transcriptions: false | ||||
| matrix_jitsi_enable_p2p: true | ||||
|  | ||||
| # Authentication type, must be one of internal, jwt or ldap. Currently only | ||||
| # internal and ldap are supported by this playbook. | ||||
| matrix_jitsi_auth_type: internal | ||||
|  | ||||
| # Configuration options for LDAP authentication. For details see upstream: | ||||
| #   https://github.com/jitsi/docker-jitsi-meet#authentication-using-ldap. | ||||
| # Defaults are taken from: | ||||
| #   https://github.com/jitsi/docker-jitsi-meet/blob/master/prosody/rootfs/defaults/saslauthd.conf | ||||
| matrix_jitsi_ldap_url: "" | ||||
| matrix_jitsi_ldap_base: "" | ||||
| matrix_jitsi_ldap_binddn: "" | ||||
| matrix_jitsi_ldap_bindpw: "" | ||||
| matrix_jitsi_ldap_filter: "uid=%u" | ||||
| matrix_jitsi_ldap_auth_method: "bind" | ||||
| matrix_jitsi_ldap_version: "3" | ||||
| matrix_jitsi_ldap_use_tls: false | ||||
| matrix_jitsi_ldap_tls_ciphers: "" | ||||
| matrix_jitsi_ldap_tls_check_peer: false | ||||
| matrix_jitsi_ldap_tls_cacert_file: "/etc/ssl/certs/ca-certificates.crt" | ||||
| matrix_jitsi_ldap_tls_cacert_dir: "/etc/ssl/certs" | ||||
| matrix_jitsi_ldap_start_tls: false | ||||
|  | ||||
| matrix_jitsi_timezone: UTC | ||||
|  | ||||
| matrix_jitsi_xmpp_domain: matrix-jitsi-web | ||||
| matrix_jitsi_xmpp_server: matrix-jitsi-prosody | ||||
| matrix_jitsi_xmpp_auth_domain: auth.meet.jitsi | ||||
| matrix_jitsi_xmpp_bosh_url_base: http://{{ matrix_jitsi_xmpp_server }}:5280 | ||||
| matrix_jitsi_xmpp_guest_domain: guest.meet.jitsi | ||||
| matrix_jitsi_xmpp_muc_domain: muc.meet.jitsi | ||||
| matrix_jitsi_xmpp_internal_muc_domain: internal-muc.meet.jitsi | ||||
| matrix_jitsi_xmpp_modules: '' | ||||
|  | ||||
| matrix_jitsi_recorder_domain: recorder.meet.jitsi | ||||
|  | ||||
|  | ||||
| matrix_jitsi_jibri_brewery_muc: jibribrewery | ||||
| matrix_jitsi_jibri_pending_timeout: 90 | ||||
| matrix_jitsi_jibri_xmpp_user: jibri | ||||
| matrix_jitsi_jibri_xmpp_password: '' | ||||
| matrix_jitsi_jibri_recorder_user: recorder | ||||
| matrix_jitsi_jibri_recorder_password: '' | ||||
|  | ||||
| matrix_jitsi_enable_lobby: false | ||||
|  | ||||
| matrix_jitsi_version: stable-5765-1 | ||||
| matrix_jitsi_container_image_tag: "{{ matrix_jitsi_version }}" # for backward-compatibility | ||||
|  | ||||
| matrix_jitsi_web_docker_image: "{{ matrix_container_global_registry_prefix }}jitsi/web:{{ matrix_jitsi_container_image_tag }}" | ||||
| matrix_jitsi_web_docker_image_force_pull: "{{ matrix_jitsi_web_docker_image.endswith(':latest') }}" | ||||
|  | ||||
| matrix_jitsi_web_base_path: "{{ matrix_base_data_path }}/jitsi/web" | ||||
| matrix_jitsi_web_config_path: "{{ matrix_jitsi_web_base_path }}/config" | ||||
| matrix_jitsi_web_transcripts_path: "{{ matrix_jitsi_web_base_path }}/transcripts" | ||||
|  | ||||
| matrix_jitsi_web_public_url: "https://{{ matrix_server_fqn_jitsi }}" | ||||
|  | ||||
| # STUN servers used in the web UI. Feel free to point them to your own STUN server. | ||||
| # Addresses need to be prefixed with one of `stun:`, `turn:` or `turns:`. | ||||
| matrix_jitsi_web_stun_servers: ['stun:meet-jit-si-turnrelay.jitsi.net:443'] | ||||
|  | ||||
| # Controls whether Etherpad will be available within Jitsi | ||||
| matrix_jitsi_etherpad_enabled: false | ||||
|  | ||||
| # Controls whether the matrix-jitsi-web container exposes its HTTP port (tcp/80 in the container). | ||||
| # | ||||
| # Takes an "<ip>:<port>" or "<port>" value (e.g. "127.0.0.1:13080"), or empty string to not expose. | ||||
| matrix_jitsi_web_container_http_host_bind_port: '' | ||||
|  | ||||
| # A list of extra arguments to pass to the container | ||||
| matrix_jitsi_web_container_extra_arguments: [] | ||||
|  | ||||
| # List of systemd services that matrix-jitsi-web.service depends on | ||||
| matrix_jitsi_web_systemd_required_services_list: ['docker.service'] | ||||
|  | ||||
|  | ||||
| # Some variables controlling the interface of Jitsi Web. | ||||
| # These get applied to `templates/web/interface_config.js.j2`. | ||||
| # | ||||
| # Besides this, you can also use `matrix_jitsi_web_custom_interface_config_extension` | ||||
| # to define any other configuration option. | ||||
| matrix_jitsi_web_interface_config_lang_detection: false | ||||
| matrix_jitsi_web_interface_config_show_jitsi_watermark: true | ||||
| matrix_jitsi_web_interface_config_jitsi_watermark_link: "https://jitsi.org" | ||||
| matrix_jitsi_web_interface_config_show_brand_watermark: false | ||||
| matrix_jitsi_web_interface_config_brand_watermark_link: "" | ||||
| matrix_jitsi_web_interface_config_generate_room_names_on_welcome_page: true | ||||
| matrix_jitsi_web_interface_config_display_welcome_page_content: true | ||||
| matrix_jitsi_web_interface_config_app_name: "Jitsi Meet" | ||||
| matrix_jitsi_web_interface_config_native_app_name: "Jitsi Meet" | ||||
| matrix_jitsi_web_interface_config_provider_name: "Jitsi" | ||||
| matrix_jitsi_web_interface_config_show_powered_by: false | ||||
| matrix_jitsi_web_interface_config_disable_transcription_subtitles: false | ||||
| matrix_jitsi_web_interface_config_show_deep_linking_image: false | ||||
|  | ||||
| # Custom configuration to be injected into `interface_config.js`, passed to Jitsi Web. | ||||
| # This configuration gets appended to the final interface configuration that Jitsi Web uses. | ||||
| # | ||||
| # Note: not to be confused with `matrix_jitsi_web_custom_config_extension`. | ||||
| # | ||||
| # For interface configuration, the flow is like this: | ||||
| # - the contents of `templates/web/interface_config.js.j2` is generated (based on various `matrix_jitsi_web_interface_config_*` variables you see in this file) | ||||
| # - the contents of `matrix_jitsi_web_custom_interface_config_extension` is appended and can define new settings or override defaults. | ||||
| # | ||||
| # Example: | ||||
| # matrix_jitsi_web_custom_interface_config_extension: | | ||||
| #   interfaceConfig.CONNECTION_INDICATOR_AUTO_HIDE_ENABLED = false; | ||||
| #   interfaceConfig.DISABLE_VIDEO_BACKGROUND = true; | ||||
| matrix_jitsi_web_custom_interface_config_extension: '' | ||||
|  | ||||
|  | ||||
| # Controls after which participant audio will be muted. If not specified, defaults to Jitsi's default value (likely 10) | ||||
| matrix_jitsi_web_config_start_audio_muted_after_nth_participant: ~ | ||||
| # Controls after which participant video will be muted. If not specified, defaults to Jitsi's default value (likely 10) | ||||
| matrix_jitsi_web_config_start_video_muted_after_nth_participant: ~ | ||||
|  | ||||
| matrix_jitsi_web_config_defaultLanguage: 'en' | ||||
|  | ||||
| # Ideal and also maximum resolution width. If not specified, defaults to Jitsi's default value (likely 1280) | ||||
| matrix_jitsi_web_config_resolution_width_ideal_and_max: ~ | ||||
| # Minimum resolution width. If not specified, defaults to Jitsi's default value (likely 320) | ||||
| matrix_jitsi_web_config_resolution_width_min: ~ | ||||
| # Ideal and also maximum resolution height. If not specified, defaults to Jitsi's default value (likely 720) | ||||
| matrix_jitsi_web_config_resolution_height_ideal_and_max: ~ | ||||
| # Minimum resolution height. If not specified, defaults to Jitsi's default value (likely 180) | ||||
| matrix_jitsi_web_config_resolution_height_min: ~ | ||||
|  | ||||
| # Custom configuration to be injected into `custom-config.js`, passed to Jitsi Web. | ||||
| # This configuration gets appended to the final configuration that Jitsi Web uses. | ||||
| # | ||||
| # Note: not to be confused with `matrix_jitsi_web_custom_interface_config_extension`. | ||||
| # | ||||
| # The flow is like this: | ||||
| # - some default configuration is automatically generated based on the environment variables passed to the Jitsi Web container | ||||
| # - the contents of `custom-config.js` is appended to it (see `templates/web/custom-config.js.j2`) | ||||
| # - said `custom-config.js` contains your custom contents specified in `matrix_jitsi_web_custom_config_extension`. | ||||
| # | ||||
| # Example: | ||||
| # matrix_jitsi_web_custom_config_extension: | | ||||
| #   if (!config.hasOwnProperty('testing')) config.testing = {}; | ||||
| #   config.testing.p2pTestMode = true | ||||
| matrix_jitsi_web_custom_config_extension: '' | ||||
|  | ||||
| # Additional environment variables to pass to the Jitsi Web container. | ||||
| # You can use this to further influence the default configuration generated by the Jitsi Web container on every startup. | ||||
| # Besides influencing the final configuration by passing environment variables, you can also inject custom configuration | ||||
| # by using `matrix_jitsi_web_custom_config_extension`. | ||||
| # | ||||
| # Example: | ||||
| # matrix_jitsi_web_environment_variables_extension: | | ||||
| #   ENABLE_FILE_RECORDING_SERVICE=1 | ||||
| #   DROPBOX_APPKEY=something | ||||
| #   DROPBOX_REDIRECT_URI=something | ||||
| matrix_jitsi_web_environment_variables_extension: '' | ||||
|  | ||||
|  | ||||
| matrix_jitsi_prosody_docker_image: "{{ matrix_container_global_registry_prefix }}jitsi/prosody:{{ matrix_jitsi_container_image_tag }}" | ||||
| matrix_jitsi_prosody_docker_image_force_pull: "{{ matrix_jitsi_prosody_docker_image.endswith(':latest') }}" | ||||
|  | ||||
| matrix_jitsi_prosody_base_path: "{{ matrix_base_data_path }}/jitsi/prosody" | ||||
| matrix_jitsi_prosody_config_path: "{{ matrix_jitsi_prosody_base_path }}/config" | ||||
| matrix_jitsi_prosody_plugins_path: "{{ matrix_jitsi_prosody_base_path }}/prosody-plugins-custom" | ||||
|  | ||||
| # A list of extra arguments to pass to the container | ||||
| matrix_jitsi_prosody_container_extra_arguments: [] | ||||
|  | ||||
| # List of systemd services that matrix-jitsi-prosody.service depends on | ||||
| matrix_jitsi_prosody_systemd_required_services_list: ['docker.service'] | ||||
|  | ||||
| # Neccessary Port binding for those disabling the integrated nginx proxy | ||||
| matrix_jitsi_prosody_container_http_host_bind_port: '' | ||||
|  | ||||
| matrix_jitsi_jicofo_docker_image: "{{ matrix_container_global_registry_prefix }}jitsi/jicofo:{{ matrix_jitsi_container_image_tag }}" | ||||
| matrix_jitsi_jicofo_docker_image_force_pull: "{{ matrix_jitsi_jicofo_docker_image.endswith(':latest') }}" | ||||
|  | ||||
| matrix_jitsi_jicofo_base_path: "{{ matrix_base_data_path }}/jitsi/jicofo" | ||||
| matrix_jitsi_jicofo_config_path: "{{ matrix_jitsi_jicofo_base_path }}/config" | ||||
|  | ||||
| # A list of extra arguments to pass to the container | ||||
| matrix_jitsi_jicofo_container_extra_arguments: [] | ||||
|  | ||||
| # List of systemd services that matrix-jitsi-jicofo.service depends on | ||||
| matrix_jitsi_jicofo_systemd_required_services_list: ['docker.service', 'matrix-jitsi-prosody.service'] | ||||
|  | ||||
| matrix_jitsi_jicofo_component_secret: '' | ||||
| matrix_jitsi_jicofo_auth_user: focus | ||||
| matrix_jitsi_jicofo_auth_password: '' | ||||
|  | ||||
|  | ||||
| matrix_jitsi_jvb_docker_image: "{{ matrix_container_global_registry_prefix }}jitsi/jvb:{{ matrix_jitsi_container_image_tag }}" | ||||
| matrix_jitsi_jvb_docker_image_force_pull: "{{ matrix_jitsi_jvb_docker_image.endswith(':latest') }}" | ||||
|  | ||||
| matrix_jitsi_jvb_base_path: "{{ matrix_base_data_path }}/jitsi/jvb" | ||||
| matrix_jitsi_jvb_config_path: "{{ matrix_jitsi_jvb_base_path }}/config" | ||||
|  | ||||
| # A list of extra arguments to pass to the container | ||||
| matrix_jitsi_jvb_container_extra_arguments: [] | ||||
|  | ||||
| # List of systemd services that matrix-jitsi-jvb.service depends on | ||||
| matrix_jitsi_jvb_systemd_required_services_list: ['docker.service', 'matrix-jitsi-prosody.service'] | ||||
|  | ||||
| matrix_jitsi_jvb_auth_user: jvb | ||||
| matrix_jitsi_jvb_auth_password: '' | ||||
|  | ||||
| # STUN servers used by JVB on the server-side, so it can discover its own external IP address. | ||||
| # Pointing this to a STUN server running on the same Docker network may lead to incorrect IP address discovery. | ||||
| matrix_jitsi_jvb_stun_servers: ['meet-jit-si-turnrelay.jitsi.net:443'] | ||||
|  | ||||
| matrix_jitsi_jvb_brewery_muc: jvbbrewery | ||||
| matrix_jitsi_jvb_rtp_udp_port: 10000 | ||||
| matrix_jitsi_jvb_rtp_tcp_port: 4443 | ||||
|  | ||||
| # Custom configuration to be injected into `custom-sip-communicator.properties`, passed to Jitsi JVB. | ||||
| # This configuration gets appended to the final configuration that Jitsi JVB uses. | ||||
| # | ||||
| # The flow is like this: | ||||
| # - some default configuration is automatically generated based on the environment variables passed to the Jitsi JVB container | ||||
| # - the contents of `custom-sip-communicator.properties` is appended to it (see `templates/jvb/custom-sip-communicator.properties.j2`) | ||||
| # - said `custom-sip-communicator.properties` contains your custom contents specified in `matrix_jitsi_jvb_custom_config_extension`. | ||||
| # | ||||
| # Example: | ||||
| # matrix_jitsi_jvb_custom_config_extension: | | ||||
| #   org.jitsi.videobridge.xmpp.user.shard.DISABLE_CERTIFICATE_VERIFICATION=false | ||||
| #   org.jitsi.videobridge.ENABLE_STATISTICS=false | ||||
| matrix_jitsi_jvb_custom_config_extension: '' | ||||
|  | ||||
| # Additional environment variables to pass to the Jitsi JVB container. | ||||
| # You can use this to further influence the default configuration generated by the Jitsi JVB container on every startup. | ||||
| # Besides influencing the final configuration by passing environment variables, you can also inject custom configuration | ||||
| # by using `matrix_jitsi_jvb_custom_config_extension`. | ||||
| # | ||||
| # Example: | ||||
| # matrix_jitsi_jvb_environment_variables_extension: | | ||||
| #   SOME_VARIABLE=1 | ||||
| #   ANOTHER_VARIABLE=something | ||||
| matrix_jitsi_jvb_environment_variables_extension: '' | ||||
|  | ||||
| # Controls whether the matrix-jitsi-jvb container exposes its RTP UDP port (udp/10000 in the container). | ||||
| # | ||||
| # Takes an "<ip>:<port>" or "<port>" value (e.g. "127.0.0.1:10000"), or empty string to not expose. | ||||
| matrix_jitsi_jvb_container_rtp_udp_host_bind_port: "{{ matrix_jitsi_jvb_rtp_udp_port }}" | ||||
|  | ||||
| # Controls whether the matrix-jitsi-jvb container exposes its RTP UDP port (udp/4443 in the container). | ||||
| # | ||||
| # Takes an "<ip>:<port>" or "<port>" value (e.g. "127.0.0.1:4443"), or empty string to not expose. | ||||
| matrix_jitsi_jvb_container_rtp_tcp_host_bind_port: "{{ matrix_jitsi_jvb_rtp_tcp_port }}" | ||||
|  | ||||
| # Controls whether the matrix-jitsi-jvb container exposes its Colibri WebSocket port (tcp/9090 in the container). | ||||
| # | ||||
| # Takes an "<ip>:<port>" or "<port>" value (e.g. "127.0.0.1:12090"), or empty string to not expose. | ||||
| matrix_jitsi_jvb_container_colibri_ws_host_bind_port: '' | ||||
| @@ -1,3 +0,0 @@ | ||||
| - set_fact: | ||||
|     matrix_systemd_services_list: "{{ matrix_systemd_services_list + ['matrix-jitsi-web.service', 'matrix-jitsi-prosody.service', 'matrix-jitsi-jicofo.service', 'matrix-jitsi-jvb.service'] }}" | ||||
|   when: matrix_jitsi_enabled|bool | ||||
| @@ -1,39 +0,0 @@ | ||||
| - import_tasks: "{{ role_path }}/tasks/init.yml" | ||||
|   tags: | ||||
|     - always | ||||
|  | ||||
| - import_tasks: "{{ role_path }}/tasks/validate_config.yml" | ||||
|   when: "run_setup|bool and matrix_jitsi_enabled|bool" | ||||
|   tags: | ||||
|     - setup-all | ||||
|     - setup-jitsi | ||||
|  | ||||
| - import_tasks: "{{ role_path }}/tasks/setup_jitsi_base.yml" | ||||
|   when: run_setup|bool | ||||
|   tags: | ||||
|     - setup-all | ||||
|     - setup-jitsi | ||||
|  | ||||
| - import_tasks: "{{ role_path }}/tasks/setup_jitsi_web.yml" | ||||
|   when: run_setup|bool | ||||
|   tags: | ||||
|     - setup-all | ||||
|     - setup-jitsi | ||||
|  | ||||
| - import_tasks: "{{ role_path }}/tasks/setup_jitsi_prosody.yml" | ||||
|   when: run_setup|bool | ||||
|   tags: | ||||
|     - setup-all | ||||
|     - setup-jitsi | ||||
|  | ||||
| - import_tasks: "{{ role_path }}/tasks/setup_jitsi_jicofo.yml" | ||||
|   when: run_setup|bool | ||||
|   tags: | ||||
|     - setup-all | ||||
|     - setup-jitsi | ||||
|  | ||||
| - import_tasks: "{{ role_path }}/tasks/setup_jitsi_jvb.yml" | ||||
|   when: run_setup|bool | ||||
|   tags: | ||||
|     - setup-all | ||||
|     - setup-jitsi | ||||
| @@ -1,20 +0,0 @@ | ||||
| --- | ||||
|  | ||||
| # | ||||
| # Tasks related to setting up jitsi | ||||
| # | ||||
|  | ||||
| - name: Ensure Matrix jitsi base path exists | ||||
|   file: | ||||
|     path: "{{ item.path }}" | ||||
|     state: directory | ||||
|     mode: 0750 | ||||
|     owner: "{{ matrix_user_username }}" | ||||
|     group: "{{ matrix_user_groupname }}" | ||||
|   with_items: | ||||
|     - { path: "{{ matrix_jitsi_base_path }}", when: true } | ||||
|   when: matrix_jitsi_enabled|bool and item.when | ||||
|  | ||||
| # | ||||
| # Tasks related to getting rid of jitsi (if it was previously enabled) | ||||
| # | ||||
| @@ -1,93 +0,0 @@ | ||||
| --- | ||||
|  | ||||
| # | ||||
| # Tasks related to setting up jitsi-jicofo | ||||
| # | ||||
|  | ||||
| - name: Ensure Matrix jitsi-jicofo path exists | ||||
|   file: | ||||
|     path: "{{ item.path }}" | ||||
|     state: directory | ||||
|     mode: 0777 | ||||
|     owner: "{{ matrix_user_username }}" | ||||
|     group: "{{ matrix_user_groupname }}" | ||||
|   with_items: | ||||
|     - { path: "{{ matrix_jitsi_jicofo_base_path }}", when: true } | ||||
|     - { path: "{{ matrix_jitsi_jicofo_config_path }}", when: true } | ||||
|   when: matrix_jitsi_enabled|bool and item.when | ||||
|  | ||||
| - name: Ensure jitsi-jicofo Docker image is pulled | ||||
|   docker_image: | ||||
|     name: "{{ matrix_jitsi_jicofo_docker_image }}" | ||||
|     source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" | ||||
|     force_source: "{{ matrix_jitsi_jicofo_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" | ||||
|     force: "{{ omit if ansible_version.major > 2 or ansible_version.minor >= 8 else matrix_jitsi_jicofo_docker_image_force_pull }}" | ||||
|   when: matrix_jitsi_enabled|bool | ||||
|  | ||||
| - name: Ensure jitsi-jicofo environment variables file created | ||||
|   template: | ||||
|     src: "{{ role_path }}/templates/jicofo/env.j2" | ||||
|     dest: "{{ matrix_jitsi_jicofo_base_path }}/env" | ||||
|     mode: 0640 | ||||
|   when: matrix_jitsi_enabled|bool | ||||
|  | ||||
| - name: Ensure jitsi-jicofo configuration files created | ||||
|   template: | ||||
|     src: "{{ role_path }}/templates/jicofo/{{ item }}.j2" | ||||
|     dest: "{{ matrix_jitsi_jicofo_config_path }}/{{ item }}" | ||||
|     mode: 0644 | ||||
|   with_items: | ||||
|     - sip-communicator.properties | ||||
|     - logging.properties | ||||
|   when: matrix_jitsi_enabled|bool | ||||
|  | ||||
| - name: Ensure matrix-jitsi-jicofo.service installed | ||||
|   template: | ||||
|     src: "{{ role_path }}/templates/jicofo/matrix-jitsi-jicofo.service.j2" | ||||
|     dest: "{{ matrix_systemd_path }}/matrix-jitsi-jicofo.service" | ||||
|     mode: 0644 | ||||
|   register: matrix_jitsi_jicofo_systemd_service_result | ||||
|   when: matrix_jitsi_enabled|bool | ||||
|  | ||||
| - name: Ensure systemd reloaded after matrix-jitsi-jicofo.service installation | ||||
|   service: | ||||
|     daemon_reload: yes | ||||
|   when: "matrix_jitsi_enabled and matrix_jitsi_jicofo_systemd_service_result.changed" | ||||
|  | ||||
| # | ||||
| # Tasks related to getting rid of jitsi-jicofo (if it was previously enabled) | ||||
| # | ||||
|  | ||||
| - name: Check existence of matrix-jitsi-jicofo service | ||||
|   stat: | ||||
|     path: "{{ matrix_systemd_path }}/matrix-jitsi-jicofo.service" | ||||
|   register: matrix_jitsi_jicofo_service_stat | ||||
|   when: "not matrix_jitsi_enabled|bool" | ||||
|  | ||||
| - name: Ensure matrix-jitsi-jicofo is stopped | ||||
|   service: | ||||
|     name: matrix-jitsi-jicofo | ||||
|     state: stopped | ||||
|     daemon_reload: yes | ||||
|   register: stopping_result | ||||
|   when: "not matrix_jitsi_enabled|bool and matrix_jitsi_jicofo_service_stat.stat.exists" | ||||
|  | ||||
| - name: Ensure matrix-jitsi-jicofo.service doesn't exist | ||||
|   file: | ||||
|     path: "{{ matrix_systemd_path }}/matrix-jitsi-jicofo.service" | ||||
|     state: absent | ||||
|   when: "not matrix_jitsi_enabled|bool and matrix_jitsi_jicofo_service_stat.stat.exists" | ||||
|  | ||||
| - name: Ensure systemd reloaded after matrix-jitsi-jicofo.service removal | ||||
|   service: | ||||
|     daemon_reload: yes | ||||
|   when: "not matrix_jitsi_enabled|bool and matrix_jitsi_jicofo_service_stat.stat.exists" | ||||
|  | ||||
| - name: Ensure Matrix jitsi-jicofo paths doesn't exist | ||||
|   file: | ||||
|     path: "{{ matrix_jitsi_jicofo_base_path }}" | ||||
|     state: absent | ||||
|   when: "not matrix_jitsi_enabled|bool" | ||||
|  | ||||
| # Intentionally not removing the Docker image when uninstalling. | ||||
| # We can't be sure it had been pulled by us in the first place. | ||||
| @@ -1,93 +0,0 @@ | ||||
| --- | ||||
|  | ||||
| # | ||||
| # Tasks related to setting up jitsi-jvb | ||||
| # | ||||
|  | ||||
| - name: Ensure Matrix jitsi-jvb path exists | ||||
|   file: | ||||
|     path: "{{ item.path }}" | ||||
|     state: directory | ||||
|     mode: 0777 | ||||
|     owner: "{{ matrix_user_username }}" | ||||
|     group: "{{ matrix_user_groupname }}" | ||||
|   with_items: | ||||
|     - { path: "{{ matrix_jitsi_jvb_base_path }}", when: true } | ||||
|     - { path: "{{ matrix_jitsi_jvb_config_path }}", when: true } | ||||
|   when: matrix_jitsi_enabled|bool and item.when | ||||
|  | ||||
| - name: Ensure jitsi-jvb Docker image is pulled | ||||
|   docker_image: | ||||
|     name: "{{ matrix_jitsi_jvb_docker_image }}" | ||||
|     source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" | ||||
|     force_source: "{{ matrix_jitsi_jvb_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" | ||||
|     force: "{{ omit if ansible_version.major > 2 or ansible_version.minor >= 8 else matrix_jitsi_jvb_docker_image_force_pull }}" | ||||
|   when: matrix_jitsi_enabled|bool | ||||
|  | ||||
| - name: Ensure jitsi-jvb configuration files created | ||||
|   template: | ||||
|     src: "{{ role_path }}/templates/jvb/{{ item }}.j2" | ||||
|     dest: "{{ matrix_jitsi_jvb_config_path }}/{{ item }}" | ||||
|     mode: 0644 | ||||
|   with_items: | ||||
|     - custom-sip-communicator.properties | ||||
|     - logging.properties | ||||
|   when: matrix_jitsi_enabled|bool | ||||
|  | ||||
| - name: Ensure jitsi-jvb environment variables file created | ||||
|   template: | ||||
|     src: "{{ role_path }}/templates/jvb/env.j2" | ||||
|     dest: "{{ matrix_jitsi_jvb_base_path }}/env" | ||||
|     mode: 0640 | ||||
|   when: matrix_jitsi_enabled|bool | ||||
|  | ||||
| - name: Ensure matrix-jitsi-jvb.service installed | ||||
|   template: | ||||
|     src: "{{ role_path }}/templates/jvb/matrix-jitsi-jvb.service.j2" | ||||
|     dest: "{{ matrix_systemd_path }}/matrix-jitsi-jvb.service" | ||||
|     mode: 0644 | ||||
|   register: matrix_jitsi_jvb_systemd_service_result | ||||
|   when: matrix_jitsi_enabled|bool | ||||
|  | ||||
| - name: Ensure systemd reloaded after matrix-jitsi-jvb.service installation | ||||
|   service: | ||||
|     daemon_reload: yes | ||||
|   when: "matrix_jitsi_enabled and matrix_jitsi_jvb_systemd_service_result.changed" | ||||
|  | ||||
| # | ||||
| # Tasks related to getting rid of jitsi-jvb (if it was previously enabled) | ||||
| # | ||||
|  | ||||
| - name: Check existence of matrix-jitsi-jvb service | ||||
|   stat: | ||||
|     path: "{{ matrix_systemd_path }}/matrix-jitsi-jvb.service" | ||||
|   register: matrix_jitsi_jvb_service_stat | ||||
|   when: "not matrix_jitsi_enabled|bool" | ||||
|  | ||||
| - name: Ensure matrix-jitsi-jvb is stopped | ||||
|   service: | ||||
|     name: matrix-jitsi-jvb | ||||
|     state: stopped | ||||
|     daemon_reload: yes | ||||
|   register: stopping_result | ||||
|   when: "not matrix_jitsi_enabled|bool and matrix_jitsi_jvb_service_stat.stat.exists" | ||||
|  | ||||
| - name: Ensure matrix-jitsi-jvb.service doesn't exist | ||||
|   file: | ||||
|     path: "{{ matrix_systemd_path }}/matrix-jitsi-jvb.service" | ||||
|     state: absent | ||||
|   when: "not matrix_jitsi_enabled|bool and matrix_jitsi_jvb_service_stat.stat.exists" | ||||
|  | ||||
| - name: Ensure systemd reloaded after matrix-jitsi-jvb.service removal | ||||
|   service: | ||||
|     daemon_reload: yes | ||||
|   when: "not matrix_jitsi_enabled|bool and matrix_jitsi_jvb_service_stat.stat.exists" | ||||
|  | ||||
| - name: Ensure Matrix jitsi-jvb paths doesn't exist | ||||
|   file: | ||||
|     path: "{{ matrix_jitsi_jvb_base_path }}" | ||||
|     state: absent | ||||
|   when: "not matrix_jitsi_enabled|bool" | ||||
|  | ||||
| # Intentionally not removing the Docker image when uninstalling. | ||||
| # We can't be sure it had been pulled by us in the first place. | ||||
| @@ -1,84 +0,0 @@ | ||||
| --- | ||||
|  | ||||
| # | ||||
| # Tasks related to setting up jitsi-prosody | ||||
| # | ||||
|  | ||||
| - name: Ensure Matrix jitsi-prosody path exists | ||||
|   file: | ||||
|     path: "{{ item.path }}" | ||||
|     state: directory | ||||
|     mode: 0777 | ||||
|     owner: "{{ matrix_user_username }}" | ||||
|     group: "{{ matrix_user_groupname }}" | ||||
|   with_items: | ||||
|     - { path: "{{ matrix_jitsi_prosody_base_path }}", when: true } | ||||
|     - { path: "{{ matrix_jitsi_prosody_config_path }}", when: true } | ||||
|     - { path: "{{ matrix_jitsi_prosody_plugins_path }}", when: true } | ||||
|   when: matrix_jitsi_enabled|bool and item.when | ||||
|  | ||||
| - name: Ensure jitsi-prosody Docker image is pulled | ||||
|   docker_image: | ||||
|     name: "{{ matrix_jitsi_prosody_docker_image }}" | ||||
|     source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" | ||||
|     force_source: "{{ matrix_jitsi_prosody_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" | ||||
|     force: "{{ omit if ansible_version.major > 2 or ansible_version.minor >= 8 else matrix_jitsi_prosody_docker_image_force_pull }}" | ||||
|   when: matrix_jitsi_enabled|bool | ||||
|  | ||||
| - name: Ensure jitsi-prosody environment variables file created | ||||
|   template: | ||||
|     src: "{{ role_path }}/templates/prosody/env.j2" | ||||
|     dest: "{{ matrix_jitsi_prosody_base_path }}/env" | ||||
|     mode: 0640 | ||||
|   when: matrix_jitsi_enabled|bool | ||||
|  | ||||
| - name: Ensure matrix-jitsi-prosody.service installed | ||||
|   template: | ||||
|     src: "{{ role_path }}/templates/prosody/matrix-jitsi-prosody.service.j2" | ||||
|     dest: "{{ matrix_systemd_path }}/matrix-jitsi-prosody.service" | ||||
|     mode: 0644 | ||||
|   register: matrix_jitsi_prosody_systemd_service_result | ||||
|   when: matrix_jitsi_enabled|bool | ||||
|  | ||||
| - name: Ensure systemd reloaded after matrix-jitsi-prosody.service installation | ||||
|   service: | ||||
|     daemon_reload: yes | ||||
|   when: "matrix_jitsi_enabled and matrix_jitsi_prosody_systemd_service_result.changed" | ||||
|  | ||||
| # | ||||
| # Tasks related to getting rid of jitsi-prosody (if it was previously enabled) | ||||
| # | ||||
|  | ||||
| - name: Check existence of matrix-jitsi-prosody service | ||||
|   stat: | ||||
|     path: "{{ matrix_systemd_path }}/matrix-jitsi-prosody.service" | ||||
|   register: matrix_jitsi_prosody_service_stat | ||||
|   when: "not matrix_jitsi_enabled|bool" | ||||
|  | ||||
| - name: Ensure matrix-jitsi-prosody is stopped | ||||
|   service: | ||||
|     name: matrix-jitsi-prosody | ||||
|     state: stopped | ||||
|     daemon_reload: yes | ||||
|   register: stopping_result | ||||
|   when: "not matrix_jitsi_enabled|bool and matrix_jitsi_prosody_service_stat.stat.exists" | ||||
|  | ||||
| - name: Ensure matrix-jitsi-prosody.service doesn't exist | ||||
|   file: | ||||
|     path: "{{ matrix_systemd_path }}/matrix-jitsi-prosody.service" | ||||
|     state: absent | ||||
|   when: "not matrix_jitsi_enabled|bool and matrix_jitsi_prosody_service_stat.stat.exists" | ||||
|  | ||||
| - name: Ensure systemd reloaded after matrix-jitsi-prosody.service removal | ||||
|   service: | ||||
|     daemon_reload: yes | ||||
|   when: "not matrix_jitsi_enabled|bool and matrix_jitsi_prosody_service_stat.stat.exists" | ||||
|  | ||||
| - name: Ensure Matrix jitsi-prosody paths doesn't exist | ||||
|   file: | ||||
|     path: "{{ matrix_jitsi_prosody_base_path }}" | ||||
|     state: absent | ||||
|   when: "not matrix_jitsi_enabled|bool" | ||||
|  | ||||
| # Intentionally not removing the Docker image when uninstalling. | ||||
| # We can't be sure it had been pulled by us in the first place. | ||||
| @@ -1,95 +0,0 @@ | ||||
| --- | ||||
|  | ||||
| # | ||||
| # Tasks related to setting up jitsi-web | ||||
| # | ||||
|  | ||||
| - name: Ensure Matrix jitsi-web path exists | ||||
|   file: | ||||
|     path: "{{ item.path }}" | ||||
|     state: directory | ||||
|     mode: 0777 | ||||
|     owner: "{{ matrix_user_username }}" | ||||
|     group: "{{ matrix_user_groupname }}" | ||||
|   with_items: | ||||
|     - { path: "{{ matrix_jitsi_web_base_path }}", when: true } | ||||
|     - { path: "{{ matrix_jitsi_web_config_path }}", when: true } | ||||
|     - { path: "{{ matrix_jitsi_web_transcripts_path }}", when: true } | ||||
|   when: matrix_jitsi_enabled|bool and item.when | ||||
|  | ||||
| - name: Ensure jitsi-web Docker image is pulled | ||||
|   docker_image: | ||||
|     name: "{{ matrix_jitsi_web_docker_image }}" | ||||
|     source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" | ||||
|     force_source: "{{ matrix_jitsi_web_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" | ||||
|     force: "{{ omit if ansible_version.major > 2 or ansible_version.minor >= 8 else matrix_jitsi_web_docker_image_force_pull }}" | ||||
|   when: matrix_jitsi_enabled|bool | ||||
|  | ||||
| - name: Ensure jitsi-web environment variables file created | ||||
|   template: | ||||
|     src: "{{ role_path }}/templates/web/env.j2" | ||||
|     dest: "{{ matrix_jitsi_web_base_path }}/env" | ||||
|     mode: 0640 | ||||
|   when: matrix_jitsi_enabled|bool | ||||
|  | ||||
| - name: Ensure jitsi-web configuration files created | ||||
|   template: | ||||
|     src: "{{ role_path }}/templates/web/{{ item }}.j2" | ||||
|     dest: "{{ matrix_jitsi_web_config_path }}/{{ item }}" | ||||
|     mode: 0644 | ||||
|   with_items: | ||||
|     - custom-config.js | ||||
|     - interface_config.js | ||||
|   when: matrix_jitsi_enabled|bool | ||||
|  | ||||
| - name: Ensure matrix-jitsi-web.service installed | ||||
|   template: | ||||
|     src: "{{ role_path }}/templates/web/matrix-jitsi-web.service.j2" | ||||
|     dest: "{{ matrix_systemd_path }}/matrix-jitsi-web.service" | ||||
|     mode: 0644 | ||||
|   register: matrix_jitsi_web_systemd_service_result | ||||
|   when: matrix_jitsi_enabled|bool | ||||
|  | ||||
| - name: Ensure systemd reloaded after matrix-jitsi-web.service installation | ||||
|   service: | ||||
|     daemon_reload: yes | ||||
|   when: "matrix_jitsi_enabled and matrix_jitsi_web_systemd_service_result.changed" | ||||
|  | ||||
| # | ||||
| # Tasks related to getting rid of jitsi-web (if it was previously enabled) | ||||
| # | ||||
|  | ||||
| - name: Check existence of matrix-jitsi-web service | ||||
|   stat: | ||||
|     path: "{{ matrix_systemd_path }}/matrix-jitsi-web.service" | ||||
|   register: matrix_jitsi_web_service_stat | ||||
|   when: "not matrix_jitsi_enabled|bool" | ||||
|  | ||||
| - name: Ensure matrix-jitsi-web is stopped | ||||
|   service: | ||||
|     name: matrix-jitsi-web | ||||
|     state: stopped | ||||
|     daemon_reload: yes | ||||
|   register: stopping_result | ||||
|   when: "not matrix_jitsi_enabled|bool and matrix_jitsi_web_service_stat.stat.exists" | ||||
|  | ||||
| - name: Ensure matrix-jitsi-web.service doesn't exist | ||||
|   file: | ||||
|     path: "{{ matrix_systemd_path }}/matrix-jitsi-web.service" | ||||
|     state: absent | ||||
|   when: "not matrix_jitsi_enabled|bool and matrix_jitsi_web_service_stat.stat.exists" | ||||
|  | ||||
| - name: Ensure systemd reloaded after matrix-jitsi-web.service removal | ||||
|   service: | ||||
|     daemon_reload: yes | ||||
|   when: "not matrix_jitsi_enabled|bool and matrix_jitsi_web_service_stat.stat.exists" | ||||
|  | ||||
| - name: Ensure Matrix jitsi-web paths doesn't exist | ||||
|   file: | ||||
|     path: "{{ matrix_jitsi_web_base_path }}" | ||||
|     state: absent | ||||
|   when: "not matrix_jitsi_enabled|bool" | ||||
|  | ||||
| # Intentionally not removing the Docker image when uninstalling. | ||||
| # We can't be sure it had been pulled by us in the first place. | ||||
|  | ||||
| @@ -1,43 +0,0 @@ | ||||
| --- | ||||
|  | ||||
| - name: Fail if required Jitsi settings not defined | ||||
|   fail: | ||||
|     msg: >- | ||||
|       You need to define a required configuration setting (`{{ item }}`) for using Jitsi. | ||||
|  | ||||
|       If you're setting up Jitsi for the first time, you may have missed a step. | ||||
|       Refer to our setup instructions (docs/configuring-playbook-jitsi.md). | ||||
|  | ||||
|       If you had setup Jitsi successfully before and it's just now that you're observing this failure, | ||||
|       it means that your installation may be using some default passwords that the playbook used to define until now. | ||||
|       This is not secure and we urge you to rebuild your Jitsi setup. | ||||
|       Refer to the "Rebuilding your Jitsi installation" section in our setup instructions (docs/configuring-playbook-jitsi.md). | ||||
|   when: "vars[item] == ''" | ||||
|   with_items: | ||||
|     - "matrix_jitsi_jibri_xmpp_password" | ||||
|     - "matrix_jitsi_jibri_recorder_password" | ||||
|     - "matrix_jitsi_jicofo_component_secret" | ||||
|     - "matrix_jitsi_jicofo_auth_password" | ||||
|     - "matrix_jitsi_jvb_auth_password" | ||||
|  | ||||
| - name: (Deprecation) Catch and report renamed settings | ||||
|   fail: | ||||
|     msg: >- | ||||
|       Your configuration contains a variable, which now has a different name. | ||||
|       Please change your configuration to rename the variable (`{{ item.old }}` -> `{{ item.new }}`). | ||||
|   when: "item.old in vars" | ||||
|   with_items: | ||||
|     - {'old': 'matrix_jitsi_web_config_constraints_enabled', 'new': '<Now unnecessary. Constraints are always applied automatically>'} | ||||
|     - {'old': 'matrix_jitsi_web_config_constraints_video_aspectRatio', 'new': '<Not applicable anymore>'} | ||||
|     - {'old': 'matrix_jitsi_web_config_constraints_video_height_ideal', 'new': 'matrix_jitsi_web_config_resolution_height_ideal_and_max'} | ||||
|     - {'old': 'matrix_jitsi_web_config_constraints_video_height_max', 'new': 'matrix_jitsi_web_config_resolution_height_ideal_and_max'} | ||||
|     - {'old': 'matrix_jitsi_web_config_constraints_video_height_min', 'new': 'matrix_jitsi_web_config_resolution_height_min'} | ||||
|     - {'old': 'matrix_jitsi_web_config_disableAudioLevels', 'new': '<Can be set by using matrix_jitsi_web_custom_config_extension. Example in docs/configuring-playbook-jitsi.md>'} | ||||
|     - {'old': 'matrix_jitsi_web_config_enableLayerSuspension', 'new': '<Can be set by using matrix_jitsi_web_custom_config_extension. Example in docs/configuring-playbook-jitsi.md>'} | ||||
|     - {'old': 'matrix_jitsi_web_config_channelLastN', 'new': '<Can be set by using matrix_jitsi_web_custom_config_extension. Example in docs/configuring-playbook-jitsi.md>'} | ||||
|     - {'old': 'matrix_jitsi_web_config_testing_p2pTestMode', 'new': '<Can be set by using matrix_jitsi_web_custom_config_extension>'} | ||||
|     - {'old': 'matrix_jitsi_web_config_start_with_audio_muted', 'new': '<Superseded by matrix_jitsi_web_config_start_audio_muted_after_nth_participant>'} | ||||
|     - {'old': 'matrix_jitsi_web_config_start_with_video_muted', 'new': '<Superseded by matrix_jitsi_web_config_start_video_muted_after_nth_participant>'} | ||||
|     - {'old': 'matrix_jitsi_web_interface_config_show_watermark_for_guests', 'new': '<Not applicable anymore>'} | ||||
|     - {'old': 'matrix_jitsi_web_interface_config_invitation_powered_by', 'new': '<Not applicable anymore>'} | ||||
|     - {'old': 'matrix_jisti_web_interface_config_show_deep_linking_image', 'new': 'matrix_jitsi_web_interface_config_show_deep_linking_image'} | ||||
| @@ -1,17 +0,0 @@ | ||||
| ENABLE_AUTH={{ 1 if matrix_jitsi_enable_auth else 0 }} | ||||
|  | ||||
| XMPP_DOMAIN={{ matrix_jitsi_xmpp_domain }} | ||||
| XMPP_AUTH_DOMAIN={{ matrix_jitsi_xmpp_auth_domain }} | ||||
| XMPP_INTERNAL_MUC_DOMAIN={{ matrix_jitsi_xmpp_internal_muc_domain }} | ||||
| XMPP_SERVER={{ matrix_jitsi_xmpp_server }} | ||||
|  | ||||
| JICOFO_COMPONENT_SECRET={{ matrix_jitsi_jicofo_component_secret }} | ||||
| JICOFO_AUTH_USER={{ matrix_jitsi_jicofo_auth_user }} | ||||
| JICOFO_AUTH_PASSWORD={{ matrix_jitsi_jicofo_auth_password }} | ||||
|  | ||||
| JVB_BREWERY_MUC={{ matrix_jitsi_jvb_brewery_muc }} | ||||
|  | ||||
| JIBRI_BREWERY_MUC={{ matrix_jitsi_jibri_brewery_muc }} | ||||
| JIBRI_PENDING_TIMEOUT={{ matrix_jitsi_jibri_pending_timeout }} | ||||
|  | ||||
| TZ={{ matrix_jitsi_timezone }} | ||||
| @@ -1,20 +0,0 @@ | ||||
| handlers= java.util.logging.ConsoleHandler | ||||
|  | ||||
| java.util.logging.ConsoleHandler.level = ALL | ||||
| java.util.logging.ConsoleHandler.formatter = net.java.sip.communicator.util.ScLogFormatter | ||||
|  | ||||
| net.java.sip.communicator.util.ScLogFormatter.programname=Jicofo | ||||
|  | ||||
| .level=INFO | ||||
| net.sf.level=SEVERE | ||||
| net.java.sip.communicator.plugin.reconnectplugin.level=FINE | ||||
| org.ice4j.level=SEVERE | ||||
| org.jitsi.impl.neomedia.level=SEVERE | ||||
|  | ||||
| # Do not worry about missing strings | ||||
| net.java.sip.communicator.service.resources.AbstractResourcesService.level=SEVERE | ||||
|  | ||||
| #net.java.sip.communicator.service.protocol.level=ALL | ||||
|  | ||||
| # Enable debug packets logging | ||||
| #org.jitsi.impl.protocol.xmpp.level=FINE | ||||
| @@ -1,33 +0,0 @@ | ||||
| #jinja2: lstrip_blocks: "True" | ||||
| [Unit] | ||||
| Description=Matrix jitsi-jicofo server | ||||
| {% for service in matrix_jitsi_jicofo_systemd_required_services_list %} | ||||
| Requires={{ service }} | ||||
| After={{ service }} | ||||
| {% endfor %} | ||||
| DefaultDependencies=no | ||||
|  | ||||
| [Service] | ||||
| Type=simple | ||||
| Environment="HOME={{ matrix_systemd_unit_home_path }}" | ||||
| ExecStartPre=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-jitsi-jicofo 2>/dev/null' | ||||
| ExecStartPre=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-jitsi-jicofo 2>/dev/null' | ||||
|  | ||||
| ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-jitsi-jicofo \ | ||||
| 			--log-driver=none \ | ||||
| 			--network={{ matrix_docker_network }} \ | ||||
| 			--env-file={{ matrix_jitsi_jicofo_base_path }}/env \ | ||||
| 			--mount type=bind,src={{ matrix_jitsi_jicofo_config_path }},dst=/config \ | ||||
| 			{% for arg in matrix_jitsi_jicofo_container_extra_arguments %} | ||||
| 			{{ arg }} \ | ||||
| 			{% endfor %} | ||||
| 			{{ matrix_jitsi_jicofo_docker_image }} | ||||
|  | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-jitsi-jicofo 2>/dev/null' | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-jitsi-jicofo 2>/dev/null' | ||||
| Restart=always | ||||
| RestartSec=30 | ||||
| SyslogIdentifier=matrix-jitsi-jicofo | ||||
|  | ||||
| [Install] | ||||
| WantedBy=multi-user.target | ||||
| @@ -1,9 +0,0 @@ | ||||
| org.jitsi.jicofo.ALWAYS_TRUST_MODE_ENABLED=true | ||||
| org.jitsi.jicofo.BRIDGE_MUC={{ matrix_jitsi_jvb_brewery_muc }}@{{ matrix_jitsi_xmpp_internal_muc_domain }} | ||||
|  | ||||
| org.jitsi.jicofo.jibri.BREWERY={{ matrix_jitsi_jibri_brewery_muc }}@{{ matrix_jitsi_xmpp_internal_muc_domain }} | ||||
| org.jitsi.jicofo.jibri.PENDING_TIMEOUT=90 | ||||
|  | ||||
| {% if matrix_jitsi_enable_auth %} | ||||
| org.jitsi.jicofo.auth.URL=XMPP:{{ matrix_jitsi_xmpp_domain }} | ||||
| {% endif %} | ||||
| @@ -1,7 +0,0 @@ | ||||
| org.jitsi.videobridge.xmpp.user.shard.DISABLE_CERTIFICATE_VERIFICATION=true | ||||
|  | ||||
| org.jitsi.videobridge.ENABLE_STATISTICS=true | ||||
| org.jitsi.videobridge.STATISTICS_TRANSPORT=muc | ||||
| org.jitsi.videobridge.STATISTICS_INTERVAL=5000 | ||||
|  | ||||
| {{ matrix_jitsi_jvb_custom_config_extension }} | ||||
| @@ -1,20 +0,0 @@ | ||||
| JVB_AUTH_PASSWORD={{ matrix_jitsi_jvb_auth_password }} | ||||
| JVB_TCP_PORT={{ matrix_jitsi_jvb_rtp_tcp_port }} | ||||
| JVB_PORT={{ matrix_jitsi_jvb_rtp_udp_port }} | ||||
| JVB_AUTH_USER={{ matrix_jitsi_jvb_auth_user }} | ||||
| JVB_AUTH_PASSWORD={{ matrix_jitsi_jvb_auth_password }} | ||||
| JVB_BREWERY_MUC={{ matrix_jitsi_jvb_brewery_muc }} | ||||
|  | ||||
| XMPP_SERVER={{ matrix_jitsi_xmpp_server }} | ||||
| XMPP_AUTH_DOMAIN={{ matrix_jitsi_xmpp_auth_domain }} | ||||
| XMPP_INTERNAL_MUC_DOMAIN={{ matrix_jitsi_xmpp_internal_muc_domain }} | ||||
|  | ||||
| HOSTNAME=matrix-jitsi-jvb | ||||
|  | ||||
| {% if matrix_jitsi_jvb_stun_servers|length > 0 %} | ||||
| JVB_STUN_SERVERS={{ matrix_jitsi_jvb_stun_servers|join(',') }} | ||||
| {% endif %} | ||||
|  | ||||
| PUBLIC_URL={{ matrix_jitsi_web_public_url }} | ||||
|  | ||||
| {{ matrix_jitsi_jvb_environment_variables_extension }} | ||||
| @@ -1,13 +0,0 @@ | ||||
| handlers= java.util.logging.ConsoleHandler | ||||
|  | ||||
| java.util.logging.ConsoleHandler.level = ALL | ||||
| java.util.logging.ConsoleHandler.formatter = net.java.sip.communicator.util.ScLogFormatter | ||||
|  | ||||
| net.java.sip.communicator.util.ScLogFormatter.programname=JVB | ||||
|  | ||||
| .level=INFO | ||||
|  | ||||
| org.jitsi.videobridge.xmpp.ComponentImpl.level=FINE | ||||
|  | ||||
| # All of the INFO level logs from MediaStreamImpl are unnecessary in the context of jitsi-videobridge. | ||||
| org.jitsi.impl.neomedia.MediaStreamImpl.level=WARNING | ||||
| @@ -1,42 +0,0 @@ | ||||
| #jinja2: lstrip_blocks: "True" | ||||
| [Unit] | ||||
| Description=Matrix jitsi-jvb server | ||||
| {% for service in matrix_jitsi_jvb_systemd_required_services_list %} | ||||
| Requires={{ service }} | ||||
| After={{ service }} | ||||
| {% endfor %} | ||||
| DefaultDependencies=no | ||||
|  | ||||
| [Service] | ||||
| Type=simple | ||||
| Environment="HOME={{ matrix_systemd_unit_home_path }}" | ||||
| ExecStartPre=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-jitsi-jvb 2>/dev/null' | ||||
| ExecStartPre=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-jitsi-jvb 2>/dev/null' | ||||
|  | ||||
| ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-jitsi-jvb \ | ||||
| 			--log-driver=none \ | ||||
| 			--network={{ matrix_docker_network }} \ | ||||
| 			--env-file={{ matrix_jitsi_jvb_base_path }}/env \ | ||||
| 			{% if matrix_jitsi_jvb_container_rtp_udp_host_bind_port %} | ||||
| 			-p {{ matrix_jitsi_jvb_container_rtp_udp_host_bind_port }}:{{ matrix_jitsi_jvb_rtp_udp_port }}/udp \ | ||||
| 			{% endif %} | ||||
| 			{% if matrix_jitsi_jvb_container_rtp_tcp_host_bind_port %} | ||||
| 			-p {{ matrix_jitsi_jvb_container_rtp_tcp_host_bind_port }}:{{ matrix_jitsi_jvb_rtp_tcp_port }} \ | ||||
| 			{% endif %} | ||||
| 			{% if matrix_jitsi_jvb_container_colibri_ws_host_bind_port %} | ||||
| 			-p {{ matrix_jitsi_jvb_container_colibri_ws_host_bind_port }}:9090 \ | ||||
| 			{% endif %} | ||||
| 			--mount type=bind,src={{ matrix_jitsi_jvb_config_path }},dst=/config \ | ||||
| 			{% for arg in matrix_jitsi_jvb_container_extra_arguments %} | ||||
| 			{{ arg }} \ | ||||
| 			{% endfor %} | ||||
| 			{{ matrix_jitsi_jvb_docker_image }} | ||||
|  | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-jitsi-jvb 2>/dev/null' | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-jitsi-jvb 2>/dev/null' | ||||
| Restart=always | ||||
| RestartSec=30 | ||||
| SyslogIdentifier=matrix-jitsi-jvb | ||||
|  | ||||
| [Install] | ||||
| WantedBy=multi-user.target | ||||
| @@ -1,49 +0,0 @@ | ||||
| AUTH_TYPE={{ matrix_jitsi_auth_type }} | ||||
|  | ||||
| ENABLE_AUTH={{ 1 if matrix_jitsi_enable_auth else 0 }} | ||||
| ENABLE_GUESTS={{ 1 if matrix_jitsi_enable_guests else 0 }} | ||||
|  | ||||
| PUBLIC_URL={{ matrix_jitsi_web_public_url }} | ||||
|  | ||||
| LDAP_URL={{ matrix_jitsi_ldap_url }} | ||||
| LDAP_BASE={{ matrix_jitsi_ldap_base }} | ||||
| LDAP_BINDDN={{ matrix_jitsi_ldap_binddn }} | ||||
| LDAP_BINDPW={{ matrix_jitsi_ldap_bindpw }} | ||||
| LDAP_FILTER={{ matrix_jitsi_ldap_filter }} | ||||
| LDAP_AUTH_METHOD={{ matrix_jitsi_ldap_auth_method }} | ||||
| LDAP_VERSION={{ matrix_jitsi_ldap_version }} | ||||
| LDAP_USE_TLS={{ 1 if matrix_jitsi_ldap_use_tls else 0 }} | ||||
| LDAP_TLS_CIPHERS={{ matrix_jitsi_ldap_tls_ciphers }} | ||||
| LDAP_TLS_CHECK_PEER={{ 1 if matrix_jitsi_ldap_tls_check_peer else 0 }} | ||||
| LDAP_TLS_CACERT_FILE={{ matrix_jitsi_ldap_tls_cacert_file }} | ||||
| LDAP_TLS_CACERT_DIR={{ matrix_jitsi_ldap_tls_cacert_dir }} | ||||
| LDAP_START_TLS={{ 1 if matrix_jitsi_ldap_start_tls else 0 }} | ||||
|  | ||||
| XMPP_DOMAIN={{ matrix_jitsi_xmpp_domain }} | ||||
| XMPP_AUTH_DOMAIN={{ matrix_jitsi_xmpp_auth_domain }} | ||||
| XMPP_GUEST_DOMAIN={{ matrix_jitsi_xmpp_guest_domain }} | ||||
| XMPP_MUC_DOMAIN={{ matrix_jitsi_xmpp_muc_domain }} | ||||
| XMPP_INTERNAL_MUC_DOMAIN={{ matrix_jitsi_xmpp_internal_muc_domain }} | ||||
|  | ||||
| XMPP_MODULES={{ matrix_jitsi_xmpp_modules }} | ||||
| XMPP_MUC_MODULES= | ||||
| XMPP_INTERNAL_MUC_MODULES= | ||||
|  | ||||
| XMPP_RECORDER_DOMAIN={{ matrix_jitsi_recorder_domain }} | ||||
|  | ||||
| JICOFO_COMPONENT_SECRET={{ matrix_jitsi_jicofo_component_secret }} | ||||
| JICOFO_AUTH_USER={{ matrix_jitsi_jicofo_auth_user }} | ||||
| JICOFO_AUTH_PASSWORD={{ matrix_jitsi_jicofo_auth_password }} | ||||
|  | ||||
| JVB_AUTH_USER={{ matrix_jitsi_jvb_auth_user }} | ||||
| JVB_AUTH_PASSWORD={{ matrix_jitsi_jvb_auth_password }} | ||||
|  | ||||
| JIBRI_XMPP_USER={{ matrix_jitsi_jibri_xmpp_user }} | ||||
| JIBRI_XMPP_PASSWORD={{ matrix_jitsi_jibri_xmpp_password }} | ||||
|  | ||||
| JIBRI_RECORDER_USER={{ matrix_jitsi_jibri_recorder_user }} | ||||
| JIBRI_RECORDER_PASSWORD={{ matrix_jitsi_jibri_recorder_password }} | ||||
|  | ||||
| ENABLE_LOBBY={{ 1 if matrix_jitsi_enable_lobby else 0 }} | ||||
|  | ||||
| TZ={{ matrix_jitsi_timezone }} | ||||
| @@ -1,37 +0,0 @@ | ||||
| #jinja2: lstrip_blocks: "True" | ||||
| [Unit] | ||||
| Description=Matrix jitsi-prosody server | ||||
| {% for service in matrix_jitsi_prosody_systemd_required_services_list %} | ||||
| Requires={{ service }} | ||||
| After={{ service }} | ||||
| {% endfor %} | ||||
| DefaultDependencies=no | ||||
|  | ||||
| [Service] | ||||
| Type=simple | ||||
| Environment="HOME={{ matrix_systemd_unit_home_path }}" | ||||
| ExecStartPre=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-jitsi-prosody 2>/dev/null' | ||||
| ExecStartPre=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-jitsi-prosody 2>/dev/null' | ||||
|  | ||||
| ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-jitsi-prosody \ | ||||
| 			--log-driver=none \ | ||||
| 			--network={{ matrix_docker_network }} \ | ||||
| 			{% if matrix_jitsi_prosody_container_http_host_bind_port %} | ||||
| 			-p {{ matrix_jitsi_prosody_container_http_host_bind_port }}:5280 \ | ||||
| 			{% endif %} | ||||
| 			--env-file={{ matrix_jitsi_prosody_base_path }}/env \ | ||||
| 			--mount type=bind,src={{ matrix_jitsi_prosody_config_path }},dst=/config \ | ||||
| 			--mount type=bind,src={{ matrix_jitsi_prosody_plugins_path }},dst=/prosody-plugins-custom \ | ||||
| 			{% for arg in matrix_jitsi_prosody_container_extra_arguments %} | ||||
| 			{{ arg }} \ | ||||
| 			{% endfor %} | ||||
| 			{{ matrix_jitsi_prosody_docker_image }} | ||||
|  | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-jitsi-prosody 2>/dev/null' | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-jitsi-prosody 2>/dev/null' | ||||
| Restart=always | ||||
| RestartSec=30 | ||||
| SyslogIdentifier=matrix-jitsi-prosody | ||||
|  | ||||
| [Install] | ||||
| WantedBy=multi-user.target | ||||
| @@ -1,18 +0,0 @@ | ||||
| config.defaultLanguage = {{ matrix_jitsi_web_config_defaultLanguage|to_json }}; | ||||
|  | ||||
|  | ||||
| if (!config.hasOwnProperty('p2p')) config.p2p = {% raw %}{}{% endraw %}; | ||||
|  | ||||
| {% if matrix_jitsi_web_stun_servers|length > 0 %} | ||||
| config.p2p.stunServers = [ | ||||
| 	{% for url in matrix_jitsi_web_stun_servers %} | ||||
| 		{ urls: {{ url|to_json }} }{% if not loop.last %},{% endif %} | ||||
| 	{% endfor %} | ||||
| ]; | ||||
| {% endif %} | ||||
|  | ||||
| {% if matrix_jitsi_etherpad_enabled %} | ||||
| config.etherpad_base = {{ (matrix_jitsi_etherpad_base + '/p/') |to_json }} | ||||
| {% endif %} | ||||
|  | ||||
| {{ matrix_jitsi_web_custom_config_extension }} | ||||
| @@ -1,42 +0,0 @@ | ||||
| ENABLE_AUTH={{ 1 if matrix_jitsi_enable_auth else 0 }} | ||||
| ENABLE_GUESTS={{ 1 if matrix_jitsi_enable_guests else 0 }} | ||||
|  | ||||
| ENABLE_TRANSCRIPTIONS={{ 1 if matrix_jitsi_enable_transcriptions else 0 }} | ||||
|  | ||||
| ENABLE_P2P={{ 1 if matrix_jitsi_enable_p2p else 0 }} | ||||
|  | ||||
| DISABLE_HTTPS=1 | ||||
|  | ||||
| JICOFO_AUTH_USER={{ matrix_jitsi_jicofo_auth_user }} | ||||
|  | ||||
| PUBLIC_URL={{ matrix_jitsi_web_public_url }} | ||||
|  | ||||
| XMPP_DOMAIN={{ matrix_jitsi_xmpp_domain }} | ||||
| XMPP_AUTH_DOMAIN={{ matrix_jitsi_xmpp_auth_domain }} | ||||
| XMPP_BOSH_URL_BASE={{ matrix_jitsi_xmpp_bosh_url_base }} | ||||
| XMPP_GUEST_DOMAIN={{ matrix_jitsi_xmpp_guest_domain }} | ||||
| XMPP_MUC_DOMAIN={{ matrix_jitsi_xmpp_muc_domain }} | ||||
| XMPP_RECORDER_DOMAIN={{ matrix_jitsi_recorder_domain }} | ||||
|  | ||||
| TZ={{ matrix_jitsi_timezone }} | ||||
|  | ||||
| JIBRI_BREWERY_MUC={{ matrix_jitsi_jibri_brewery_muc }} | ||||
| JIBRI_PENDING_TIMEOUT={{ matrix_jitsi_jibri_pending_timeout }} | ||||
| JIBRI_XMPP_USER={{ matrix_jitsi_jibri_xmpp_user }} | ||||
| JIBRI_XMPP_PASSWORD={{ matrix_jitsi_jibri_xmpp_password }} | ||||
| JIBRI_RECORDER_USER={{ matrix_jitsi_jibri_recorder_user }} | ||||
| JIBRI_RECORDER_PASSWORD={{ matrix_jitsi_jibri_recorder_password }} | ||||
|  | ||||
| ENABLE_RECORDING={{ 1 if matrix_jitsi_enable_recording else 0 }} | ||||
|  | ||||
| RESOLUTION={{ matrix_jitsi_web_config_resolution_height_ideal_and_max }} | ||||
| RESOLUTION_MIN={{ matrix_jitsi_web_config_resolution_height_min }} | ||||
| RESOLUTION_WIDTH={{ matrix_jitsi_web_config_resolution_width_ideal_and_max }} | ||||
| RESOLUTION_WIDTH_MIN={{ matrix_jitsi_web_config_resolution_width_min }} | ||||
|  | ||||
| START_AUDIO_MUTED={{ matrix_jitsi_web_config_start_audio_muted_after_nth_participant }} | ||||
| START_VIDEO_MUTED={{ matrix_jitsi_web_config_start_video_muted_after_nth_participant }} | ||||
|  | ||||
| ETHERPAD_URL_BASE={{ (matrix_jitsi_etherpad_base + '/') if matrix_jitsi_etherpad_enabled else ''}} | ||||
|  | ||||
| {{ matrix_jitsi_web_environment_variables_extension }} | ||||
| @@ -1,295 +0,0 @@ | ||||
| /* eslint-disable no-unused-vars, no-var, max-len */ | ||||
| /* eslint sort-keys: ["error", "asc", {"caseSensitive": false}] */ | ||||
|  | ||||
| var interfaceConfig = { | ||||
|     APP_NAME: {{ matrix_jitsi_web_interface_config_app_name|to_json }}, | ||||
|     AUDIO_LEVEL_PRIMARY_COLOR: 'rgba(255,255,255,0.4)', | ||||
|     AUDIO_LEVEL_SECONDARY_COLOR: 'rgba(255,255,255,0.2)', | ||||
|  | ||||
|     /** | ||||
|      * A UX mode where the last screen share participant is automatically | ||||
|      * pinned. Valid values are the string "remote-only" so remote participants | ||||
|      * get pinned but not local, otherwise any truthy value for all participants, | ||||
|      * and any falsy value to disable the feature. | ||||
|      * | ||||
|      * Note: this mode is experimental and subject to breakage. | ||||
|      */ | ||||
|     AUTO_PIN_LATEST_SCREEN_SHARE: 'remote-only', | ||||
|     BRAND_WATERMARK_LINK: {{ matrix_jitsi_web_interface_config_brand_watermark_link|to_json }}, | ||||
|  | ||||
|     CLOSE_PAGE_GUEST_HINT: false, // A html text to be shown to guests on the close page, false disables it | ||||
|     /** | ||||
|      * Whether the connection indicator icon should hide itself based on | ||||
|      * connection strength. If true, the connection indicator will remain | ||||
|      * displayed while the participant has a weak connection and will hide | ||||
|      * itself after the CONNECTION_INDICATOR_HIDE_TIMEOUT when the connection is | ||||
|      * strong. | ||||
|      * | ||||
|      * @type {boolean} | ||||
|      */ | ||||
|     CONNECTION_INDICATOR_AUTO_HIDE_ENABLED: true, | ||||
|  | ||||
|     /** | ||||
|      * How long the connection indicator should remain displayed before hiding. | ||||
|      * Used in conjunction with CONNECTION_INDICATOR_AUTOHIDE_ENABLED. | ||||
|      * | ||||
|      * @type {number} | ||||
|      */ | ||||
|     CONNECTION_INDICATOR_AUTO_HIDE_TIMEOUT: 5000, | ||||
|  | ||||
|     /** | ||||
|      * If true, hides the connection indicators completely. | ||||
|      * | ||||
|      * @type {boolean} | ||||
|      */ | ||||
|     CONNECTION_INDICATOR_DISABLED: false, | ||||
|  | ||||
|     DEFAULT_BACKGROUND: '#474747', | ||||
|     DEFAULT_LOCAL_DISPLAY_NAME: 'me', | ||||
|     DEFAULT_LOGO_URL: 'images/watermark.svg', | ||||
|     DEFAULT_REMOTE_DISPLAY_NAME: 'Fellow Jitster', | ||||
|     DEFAULT_WELCOME_PAGE_LOGO_URL: 'images/watermark.svg', | ||||
|  | ||||
|     DISABLE_DOMINANT_SPEAKER_INDICATOR: false, | ||||
|  | ||||
|     DISABLE_FOCUS_INDICATOR: false, | ||||
|  | ||||
|     /** | ||||
|      * If true, notifications regarding joining/leaving are no longer displayed. | ||||
|      */ | ||||
|     DISABLE_JOIN_LEAVE_NOTIFICATIONS: false, | ||||
|  | ||||
|     /** | ||||
|      * If true, presence status: busy, calling, connected etc. is not displayed. | ||||
|      */ | ||||
|     DISABLE_PRESENCE_STATUS: false, | ||||
|  | ||||
|     /** | ||||
|      * Whether the ringing sound in the call/ring overlay is disabled. If | ||||
|      * {@code undefined}, defaults to {@code false}. | ||||
|      * | ||||
|      * @type {boolean} | ||||
|      */ | ||||
|     DISABLE_RINGING: false, | ||||
|  | ||||
|     /** | ||||
|      * Whether the speech to text transcription subtitles panel is disabled. | ||||
|      * If {@code undefined}, defaults to {@code false}. | ||||
|      * | ||||
|      * @type {boolean} | ||||
|      */ | ||||
|     DISABLE_TRANSCRIPTION_SUBTITLES: {{ matrix_jitsi_web_interface_config_disable_transcription_subtitles|to_json }}, | ||||
|  | ||||
|     /** | ||||
|      * Whether or not the blurred video background for large video should be | ||||
|      * displayed on browsers that can support it. | ||||
|      */ | ||||
|     DISABLE_VIDEO_BACKGROUND: false, | ||||
|  | ||||
|     DISPLAY_WELCOME_FOOTER: true, | ||||
|     DISPLAY_WELCOME_PAGE_ADDITIONAL_CARD: false, | ||||
|     DISPLAY_WELCOME_PAGE_CONTENT: {{ matrix_jitsi_web_interface_config_display_welcome_page_content|to_json }}, | ||||
|     DISPLAY_WELCOME_PAGE_TOOLBAR_ADDITIONAL_CONTENT: false, | ||||
|  | ||||
|     ENABLE_DIAL_OUT: true, | ||||
|  | ||||
|     ENABLE_FEEDBACK_ANIMATION: false, // Enables feedback star animation. | ||||
|  | ||||
|     FILM_STRIP_MAX_HEIGHT: 120, | ||||
|  | ||||
|     GENERATE_ROOMNAMES_ON_WELCOME_PAGE: {{ matrix_jitsi_web_interface_config_generate_room_names_on_welcome_page|to_json }}, | ||||
|  | ||||
|     /** | ||||
|      * Hide the logo on the deep linking pages. | ||||
|      */ | ||||
|     HIDE_DEEP_LINKING_LOGO: false, | ||||
|  | ||||
|     /** | ||||
|      * Hide the invite prompt in the header when alone in the meeting. | ||||
|      */ | ||||
|     HIDE_INVITE_MORE_HEADER: false, | ||||
|  | ||||
|     INITIAL_TOOLBAR_TIMEOUT: 20000, | ||||
|     JITSI_WATERMARK_LINK: {{ matrix_jitsi_web_interface_config_jitsi_watermark_link|to_json }}, | ||||
|  | ||||
|     LANG_DETECTION: {{ matrix_jitsi_web_interface_config_lang_detection|to_json }}, // Allow i18n to detect the system language | ||||
|     LIVE_STREAMING_HELP_LINK: 'https://jitsi.org/live', // Documentation reference for the live streaming feature. | ||||
|     LOCAL_THUMBNAIL_RATIO: 16 / 9, // 16:9 | ||||
|  | ||||
|     /** | ||||
|      * Maximum coefficient of the ratio of the large video to the visible area | ||||
|      * after the large video is scaled to fit the window. | ||||
|      * | ||||
|      * @type {number} | ||||
|      */ | ||||
|     MAXIMUM_ZOOMING_COEFFICIENT: 1.3, | ||||
|  | ||||
|     /** | ||||
|      * Whether the mobile app Jitsi Meet is to be promoted to participants | ||||
|      * attempting to join a conference in a mobile Web browser. If | ||||
|      * {@code undefined}, defaults to {@code true}. | ||||
|      * | ||||
|      * @type {boolean} | ||||
|      */ | ||||
|     MOBILE_APP_PROMO: true, | ||||
|  | ||||
|     /** | ||||
|      * Specify custom URL for downloading android mobile app. | ||||
|      */ | ||||
|     MOBILE_DOWNLOAD_LINK_ANDROID: 'https://play.google.com/store/apps/details?id=org.jitsi.meet', | ||||
|  | ||||
|     /** | ||||
|      * Specify custom URL for downloading f droid app. | ||||
|      */ | ||||
|     MOBILE_DOWNLOAD_LINK_F_DROID: 'https://f-droid.org/en/packages/org.jitsi.meet/', | ||||
|  | ||||
|     /** | ||||
|      * Specify URL for downloading ios mobile app. | ||||
|      */ | ||||
|     MOBILE_DOWNLOAD_LINK_IOS: 'https://itunes.apple.com/us/app/jitsi-meet/id1165103905', | ||||
|  | ||||
|     NATIVE_APP_NAME: {{ matrix_jitsi_web_interface_config_native_app_name|to_json }}, | ||||
|  | ||||
|     // Names of browsers which should show a warning stating the current browser | ||||
|     // has a suboptimal experience. Browsers which are not listed as optimal or | ||||
|     // unsupported are considered suboptimal. Valid values are: | ||||
|     // chrome, chromium, edge, electron, firefox, nwjs, opera, safari | ||||
|     OPTIMAL_BROWSERS: [ 'chrome', 'chromium', 'firefox', 'nwjs', 'electron', 'safari' ], | ||||
|  | ||||
|     POLICY_LOGO: null, | ||||
|     PROVIDER_NAME: {{ matrix_jitsi_web_interface_config_provider_name|to_json }}, | ||||
|  | ||||
|     /** | ||||
|      * If true, will display recent list | ||||
|      * | ||||
|      * @type {boolean} | ||||
|      */ | ||||
|     RECENT_LIST_ENABLED: true, | ||||
|     REMOTE_THUMBNAIL_RATIO: 1, // 1:1 | ||||
|  | ||||
|     SETTINGS_SECTIONS: [ 'devices', 'language', 'moderator', 'profile', 'calendar' ], | ||||
|     SHOW_BRAND_WATERMARK: {{ matrix_jitsi_web_interface_config_show_brand_watermark|to_json }}, | ||||
|  | ||||
|     /** | ||||
|     * Decides whether the chrome extension banner should be rendered on the landing page and during the meeting. | ||||
|     * If this is set to false, the banner will not be rendered at all. If set to true, the check for extension(s) | ||||
|     * being already installed is done before rendering. | ||||
|     */ | ||||
|     SHOW_CHROME_EXTENSION_BANNER: false, | ||||
|  | ||||
|     SHOW_DEEP_LINKING_IMAGE: {{ matrix_jitsi_web_interface_config_show_deep_linking_image|to_json }}, | ||||
|     SHOW_JITSI_WATERMARK: {{ matrix_jitsi_web_interface_config_show_jitsi_watermark|to_json }}, | ||||
|     SHOW_POWERED_BY: {{ matrix_jitsi_web_interface_config_show_powered_by|to_json }}, | ||||
|     SHOW_PROMOTIONAL_CLOSE_PAGE: false, | ||||
|  | ||||
|     /* | ||||
|      * If indicated some of the error dialogs may point to the support URL for | ||||
|      * help. | ||||
|      */ | ||||
|     SUPPORT_URL: 'https://community.jitsi.org/', | ||||
|  | ||||
|     TOOLBAR_ALWAYS_VISIBLE: false, | ||||
|  | ||||
|     /** | ||||
|      * The name of the toolbar buttons to display in the toolbar, including the | ||||
|      * "More actions" menu. If present, the button will display. Exceptions are | ||||
|      * "livestreaming" and "recording" which also require being a moderator and | ||||
|      * some values in config.js to be enabled. Also, the "profile" button will | ||||
|      * not display for users with a JWT. | ||||
|      * Notes: | ||||
|      * - it's impossible to choose which buttons go in the "More actions" menu | ||||
|      * - it's impossible to control the placement of buttons | ||||
|      * - 'desktop' controls the "Share your screen" button | ||||
|      */ | ||||
|     TOOLBAR_BUTTONS: [ | ||||
| 		{% if matrix_jitsi_enable_transcriptions %} | ||||
|             'closedcaptions', | ||||
| 		{% endif %} | ||||
| 		{% if matrix_jitsi_enable_recording %} | ||||
|             'recording', | ||||
| 		{% endif %} | ||||
|         'microphone', 'camera', 'desktop', 'embedmeeting', 'fullscreen', | ||||
|         'fodeviceselection', 'hangup', 'profile', 'chat', | ||||
|         'livestreaming', 'etherpad', 'sharedvideo', 'settings', 'raisehand', | ||||
|         'videoquality', 'filmstrip', 'invite', 'feedback', 'stats', 'shortcuts', | ||||
|         'tileview', 'videobackgroundblur', 'download', 'help', 'mute-everyone', 'security' | ||||
|     ], | ||||
|  | ||||
|     TOOLBAR_TIMEOUT: 4000, | ||||
|  | ||||
|     // Browsers, in addition to those which do not fully support WebRTC, that | ||||
|     // are not supported and should show the unsupported browser page. | ||||
|     UNSUPPORTED_BROWSERS: [], | ||||
|  | ||||
|     /** | ||||
|      * Whether to show thumbnails in filmstrip as a column instead of as a row. | ||||
|      */ | ||||
|     VERTICAL_FILMSTRIP: true, | ||||
|  | ||||
|     // Determines how the video would fit the screen. 'both' would fit the whole | ||||
|     // screen, 'height' would fit the original video height to the height of the | ||||
|     // screen, 'width' would fit the original video width to the width of the | ||||
|     // screen respecting ratio. | ||||
|     VIDEO_LAYOUT_FIT: 'both', | ||||
|  | ||||
|     /** | ||||
|      * If true, hides the video quality label indicating the resolution status | ||||
|      * of the current large video. | ||||
|      * | ||||
|      * @type {boolean} | ||||
|      */ | ||||
|     VIDEO_QUALITY_LABEL_DISABLED: false, | ||||
|  | ||||
|     /** | ||||
|      * How many columns the tile view can expand to. The respected range is | ||||
|      * between 1 and 5. | ||||
|      */ | ||||
|     // TILE_VIEW_MAX_COLUMNS: 5, | ||||
|  | ||||
|     /** | ||||
|      * Specify Firebase dynamic link properties for the mobile apps. | ||||
|      */ | ||||
|     // MOBILE_DYNAMIC_LINK: { | ||||
|     //    APN: 'org.jitsi.meet', | ||||
|     //    APP_CODE: 'w2atb', | ||||
|     //    CUSTOM_DOMAIN: undefined, | ||||
|     //    IBI: 'com.atlassian.JitsiMeet.ios', | ||||
|     //    ISI: '1165103905' | ||||
|     // }, | ||||
|  | ||||
|     /** | ||||
|      * Specify mobile app scheme for opening the app from the mobile browser. | ||||
|      */ | ||||
|     // APP_SCHEME: 'org.jitsi.meet', | ||||
|  | ||||
|     /** | ||||
|      * Specify the Android app package name. | ||||
|      */ | ||||
|     // ANDROID_APP_PACKAGE: 'org.jitsi.meet', | ||||
|  | ||||
|     /** | ||||
|      * Override the behavior of some notifications to remain displayed until | ||||
|      * explicitly dismissed through a user action. The value is how long, in | ||||
|      * milliseconds, those notifications should remain displayed. | ||||
|      */ | ||||
|     // ENFORCE_NOTIFICATION_AUTO_DISMISS_TIMEOUT: 15000, | ||||
|  | ||||
|     // List of undocumented settings | ||||
|     /** | ||||
|      INDICATOR_FONT_SIZES | ||||
|      PHONE_NUMBER_REGEX | ||||
|     */ | ||||
|  | ||||
|     // Allow all above example options to include a trailing comma and | ||||
|     // prevent fear when commenting out the last value. | ||||
|     // eslint-disable-next-line sort-keys | ||||
|     makeJsonParserHappy: 'even if last key had a trailing comma' | ||||
|  | ||||
|     // No configuration value should follow this line. | ||||
| }; | ||||
|  | ||||
|  | ||||
| {{ matrix_jitsi_web_custom_interface_config_extension }} | ||||
|  | ||||
|  | ||||
| /* eslint-enable no-unused-vars, no-var, max-len */ | ||||
| @@ -1,37 +0,0 @@ | ||||
| #jinja2: lstrip_blocks: "True" | ||||
| [Unit] | ||||
| Description=Matrix jitsi-web server | ||||
| {% for service in matrix_jitsi_web_systemd_required_services_list %} | ||||
| Requires={{ service }} | ||||
| After={{ service }} | ||||
| {% endfor %} | ||||
| DefaultDependencies=no | ||||
|  | ||||
| [Service] | ||||
| Type=simple | ||||
| Environment="HOME={{ matrix_systemd_unit_home_path }}" | ||||
| ExecStartPre=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-jitsi-web 2>/dev/null' | ||||
| ExecStartPre=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-jitsi-web 2>/dev/null' | ||||
|  | ||||
| ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-jitsi-web \ | ||||
| 			--log-driver=none \ | ||||
| 			--network={{ matrix_docker_network }} \ | ||||
| 			--env-file={{ matrix_jitsi_web_base_path }}/env \ | ||||
| 			{% if matrix_jitsi_web_container_http_host_bind_port %} | ||||
| 			-p {{ matrix_jitsi_web_container_http_host_bind_port }}:80 \ | ||||
| 			{% endif %} | ||||
| 			--mount type=bind,src={{ matrix_jitsi_web_config_path }},dst=/config \ | ||||
| 			--mount type=bind,src={{ matrix_jitsi_web_transcripts_path }},dst=/usr/share/jitsi-meet/transcripts \ | ||||
| 			{% for arg in matrix_jitsi_web_container_extra_arguments %} | ||||
| 			{{ arg }} \ | ||||
| 			{% endfor %} | ||||
| 			{{ matrix_jitsi_web_docker_image }} | ||||
|  | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-jitsi-web 2>/dev/null' | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-jitsi-web 2>/dev/null' | ||||
| Restart=always | ||||
| RestartSec=30 | ||||
| SyslogIdentifier=matrix-jitsi-web | ||||
|  | ||||
| [Install] | ||||
| WantedBy=multi-user.target | ||||
		Reference in New Issue
	
	Block a user