2020-09-27 04:29:41 +02:00
---
# 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 <http://www.gnu.org/licenses/>.
#
# 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
2020-10-12 21:14:31 +02:00
# renovate: depName=docker.io/matrixdotorg/synapse
2020-10-15 15:08:49 +00:00
matrix_synapse_version : "v1.21.2"
2020-09-27 04:29:41 +02:00
matrix_database_version : "13.0"
2020-10-12 21:14:31 +02:00
# renovate: depName=docker.io/library/nginx
2020-09-27 04:29:41 +02:00
matrix_delegate_nginx_version : "1.19"
2020-10-12 21:14:31 +02:00
# renovate: depName=docker.io/vectorim/riot-web
2020-10-22 16:10:06 +00:00
matrix_elementweb_version : "v1.7.10"
2020-09-27 04:29:41 +02:00
# Container tag definitions
2020-10-15 17:56:23 +02:00
matrix_synapse_image_version : "{{ matrix_synapse_version }}"
2020-09-27 04:29:41 +02:00
matrix_database_image_version : "{{ matrix_database_version }}-alpine"
matrix_delegate_nginx_image_version : "{{ matrix_delegate_nginx_version }}-alpine"
2020-10-12 21:14:31 +02:00
matrix_elementweb_image_version : "{{ matrix_elementweb_version }}"
2020-09-27 04:29:41 +02:00
# 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' ]