infrastructure/roles/matrix_sliding_sync/defaults/main.yml

54 lines
2.3 KiB
YAML

---
# Default variables for the matrix_sliding_sync role
# Infrastructure
# Ansible instructions to deploy the infrastructure
# Copyright (C) 2019-2020 Christoph (Sheogorath) Kern
# Copyright (C) 2023 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_sliding_sync_install_location: /srv/matrix_sliding_sync
# The container data volume mount locations
matrix_sliding_sync_data_location: "{{ matrix_sliding_sync_install_location }}/data"
matrix_sliding_sync_database_location: "{{ matrix_sliding_sync_install_location }}/database"
# The certresolver that is used by traefik for this domain
matrix_sliding_sync_traefik_certresolver: letsencrypt_http
# The domain that the sliding sync proxy is available under.
# Note: This should be the same as the synapse domain, otherwise you will need
# Custom dns entries etc.
matrix_sliding_sync_domain: "{{ matrix_synapse_domain }}"
# The database password to use
matrix_sliding_sync_database_password: "{{ lookup('passwordstore', matrix_sliding_sync_synapse_domain + '/sliding-sync/db create=true length=42') }}"
# A secret used to encrypt credentials in the DB
matrix_sliding_sync_secret: "{{ lookup('passwordstore', matrix_sliding_sync_synapse_domain + '/sliding-sync/secret create=true length=42') }}"
# Container versions
# renovate: depName=ghcr.io/matrix-org/sliding-sync
matrix_sliding_sync_version: "v0.99.13"
# renovate: depName=docker.io/library/postgres
matrix_sliding_sync_database_version: "16.3"
# Container tag definitions
matrix_sliding_sync_image_version: "{{ matrix_sliding_sync_version }}"
matrix_sliding_sync_database_image_version: "{{ matrix_sliding_sync_database_version }}-alpine"
# Enable or disable selinux handling
matrix_sliding_sync_selinux_enabled: true