infrastructure/roles/matrix/defaults/main.yml

87 lines
3.7 KiB
YAML
Raw Normal View History

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
# Note: Some keys are needed for generating the initial config file like "SYNAPSE_REPORT_STATS" and "SYNAPSE_SERVER_NAME"!
matrix_synapse_options: {}
2020-09-27 04:29:41 +02:00
# 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.41.1"
# renovate: depName=docker.io/library/postgres
matrix_database_version: "13.4"
# renovate: depName=docker.io/library/nginx
matrix_delegate_nginx_version: "1.21"
# renovate: depName=docker.io/vectorim/riot-web
matrix_elementweb_version: "v1.7.33"
2020-09-27 04:29:41 +02:00
# Container tag definitions
2020-10-27 16:20:37 +01:00
matrix_synapse_image_version: "v{{ 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"
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
# Should Element-Web disable 3PID login? (Login with Email etc)
matrix_elementweb_disable_3pid_login: false
2020-09-27 04:29:41 +02:00
# 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']