infrastructure/roles/matrix/defaults/main.yml

55 lines
2.1 KiB
YAML

---
# Default variables for the matrix role
# Infrastructure
# Ansible instructions to deploy the infrastructure
# Copyright (C) 2019-2020 Christoph (Sheogorath) Kern
# Copyright (C) 2021 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"
# 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: {}
# 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.106.0"
# renovate: depName=docker.io/library/postgres
matrix_database_version: "13.14"
# Container tag definitions
matrix_synapse_image_version: "v{{ matrix_synapse_version }}"
matrix_database_image_version: "{{ matrix_database_version }}-alpine"
# Enable or disable selinux handling
matrix_selinux_enabled: true