--- # Default variables for the matrix role # Infrastructure # Ansible instructions to deploy the infrastructure # Copyright (C) 2019-2020 Christoph (Sheogorath) Kern # Copyright (C) 2020 Saibotk # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, version 3 of the License. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # The install location matrix_install_location: /srv/matrix # The container data volume mount locations matrix_data_location: "{{ matrix_install_location}}/data" matrix_database_location: "{{ matrix_install_location}}/database" matrix_elementweb_location: "{{ matrix_install_location}}/elementweb" # The certresolver that is used by traefik for this domain matrix_traefik_certresolver: letsencrypt_http # The domain that traefik will server synapse under matrix_synapse_servername: matrix.example.com matrix_synapse_domain: "{{ matrix_synapse_servername }}" # Additional synapse ENV options (keys will automatically be prefixed with SYNAPSE_) see https://github.com/matrix-org/synapse/tree/develop/docker#generating-a-configuration-file matrix_synapse_options: [] # The database password to use matrix_database_password: "{{ lookup('passwordstore', matrix_synapse_domain + '/db create=true length=42') }}" # Container versions # renovate: depName=docker.io/matrixdotorg/synapse matrix_synapse_version: "1.35.1" # renovate: depName=docker.io/library/postgres matrix_database_version: "13.3" # renovate: depName=docker.io/library/nginx matrix_delegate_nginx_version: "1.21" # renovate: depName=docker.io/vectorim/riot-web matrix_elementweb_version: "v1.7.30" # Container tag definitions matrix_synapse_image_version: "v{{ matrix_synapse_version }}" matrix_database_image_version: "{{ matrix_database_version }}-alpine" matrix_delegate_nginx_image_version: "{{ matrix_delegate_nginx_version }}-alpine" matrix_elementweb_image_version: "{{ matrix_elementweb_version }}" # The domain that traefik will server element-web under matrix_elementweb_domain: element.example.com # The homeserver URL and display name matrix_elementweb_base_url: "https://{{ matrix_synapse_domain }}" matrix_elementweb_servername: "{{ matrix_synapse_servername }}" # Controls whether Element shows the presence feature for all (empty list) or specific servers (key = value list with the key being the server url) matrix_elementweb_enable_presence_by_hs_url: [] # Should users only be allowed to use this instance with the given matrix server? matrix_elementweb_disable_custom_urls: true # Should Element-Web disable guests? (without sign-in) matrix_elementweb_disable_guests: true # Integration Server URLs to use (see https://github.com/vector-im/element-web/blob/develop/docs/config.md) matrix_elementweb_integrations_ui_url: "https://scalar.vector.im/" matrix_elementweb_integrations_rest_url: "https://scalar.vector.im/api" matrix_elementweb_integrations_widgets_urls: ["https://scalar.vector.im/api"] matrix_elementweb_integrations_jitsi_widget_url: "https://scalar.vector.im/api/widgets/jitsi.html" # Element Web public room directory server(s) matrix_elementweb_roomdir_servers: ['matrix.org'] # Should the appservice-webhooks be enabled? matrix_webhooks_enabled: true # The matrix webhooks image tag (see https://hub.docker.com/r/turt2live/matrix-appservice-webhooks/tags?page=1&ordering=last_updated) matrix_webhooks_image_version: "latest" # Where should the appservice be installed into? matrix_webhooks_location: "{{ matrix_install_location}}/webhooks" # Under which domain should the service be reachable matrix_webhooks_domain: "webhooks.example.com" # The Provision API key matrix_webhooks_provisioning_key: "{{ lookup('passwordstore', matrix_webhooks_domain + '/provisioning-api create=true length=42') }}" # Webhook user profile (seems to be unused at the moment) matrix_webhooks_display_name: "Captain Webhook" matrix_webhooks_avatar: "http://i.imgur.com/IDOBtEJ.png"