ansible/roles/matrix-mxisd/templates/mxisd/mxisd.yaml.j2
Hadrien Patte 5f08a7522e
Fix: blank lines and trailing spaces
Signed-off-by: Hadrien Patte <hadrien.patte@protonmail.com>
2019-03-02 12:07:48 +01:00

90 lines
2.3 KiB
Django/Jinja

# {{ ansible_managed }}
#######################
# Matrix config items #
#######################
# Matrix domain, same as 'server_name' in synapse configuration.
matrix:
domain: 'auro.re'
################
# Signing keys #
################
# Absolute path for the Identity Server signing keys database.
# /!\ THIS MUST **NOT** BE YOUR HOMESERVER KEYS FILE /!\
# If this path does not exist, it will be auto-generated.
key:
path: '/var/lib/mxisd/keys'
# Path to the SQLite DB file for mxisd internal storage
# /!\ THIS MUST **NOT** BE YOUR HOMESERVER DATABASE /!\
storage:
provider:
sqlite:
database: '/var/lib/mxisd/store.db'
###################
# Identity Stores #
###################
ldap:
enabled: true
connection:
host: '{{ ldap_master_ipv4 }}'
port: 389
bindDn: '{{ ldap_matrix_bind_dn }}'
bindPassword: '{{ ldap_matrix_password }}'
baseDNs:
- '{{ ldap_user_tree }}'
attribute:
uid:
type: 'uid'
value: 'uid'
name: 'uid'
#################################################
# Notifications for invites/addition to profile #
#################################################
# This is mandatory to deal with anything e-mail related.
#
# For an introduction to sessions, invites and 3PIDs in general,
# see https://github.com/kamax-matrix/mxisd/blob/master/docs/threepids/session/session.md#3pid-sessions
#
# If you would like to change the content of the notifications,
# see https://github.com/kamax-matrix/mxisd/blob/master/docs/threepids/notification/template-generator.md
#
#### E-mail connector
threepid:
medium:
email:
identity:
# The e-mail to send as.
from: "matrix@auro.re"
connectors:
smtp:
# SMTP host
host: "smtp.crans.org"
# SMTP port
port: 587
# STARTLS mode for the connection.
# SSL/TLS is currently not supported. See https://github.com/kamax-matrix/mxisd/issues/125
#
# Possible values:
# 0 Disable any kind of TLS entirely
# 1 Enable STARTLS if supported by server (default)
# 2 Force STARTLS and fail if not available
#
tls: 1
# Login for SMTP
login: "matrix@auro.re"
# Password for the account
password: ""