infrastructure/roles/matrix_maubot/defaults/main.yml

48 lines
1.8 KiB
YAML

---
# Default variables for the matrix_maubot role
# Infrastructure
# Ansible instructions to deploy the infrastructure
# 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_maubot_install_location: /srv/matrix-maubot
# The container data volume mount locations
matrix_maubot_data_location: "{{ matrix_maubot_install_location }}/data"
matrix_maubot_database_location: "{{ matrix_maubot_install_location }}/database"
# The certresolver that is used by traefik for this domain
matrix_maubot_traefik_certresolver: letsencrypt_http
# The domain that traefik will server maubot under
matrix_maubot_domain: "maubot.example.com"
# The database password to use
matrix_maubot_database_password: "{{ lookup('passwordstore', matrix_maubot_domain + '/db create=true length=42') }}"
# Container versions
# renovate: depName=dock.mau.dev/maubot/maubot
matrix_maubot_version: "latest"
# renovate: depName=docker.io/library/postgres
matrix_maubot_database_version: "13.15"
# Container tag definitions
matrix_maubot_image_version: "{{ matrix_maubot_version }}"
matrix_maubot_database_image_version: "{{ matrix_maubot_database_version }}-alpine"
# Enable or disable selinux handling
matrix_maubot_selinux_enabled: true