Readd pub.solar modifications

This commit is contained in:
teutat3s 2020-06-28 19:36:20 +02:00
parent 0cc59911d3
commit 5ae97fdd3b
Signed by: teutat3s
GPG key ID: 18DAE600A6BBE705

View file

@ -11,9 +11,18 @@ key:
path: /var/ma1sd/sign.key
storage:
backend: {{ matrix_ma1sd_storage_backend }}
provider:
sqlite:
database: /var/ma1sd/ma1sd.db
{{ matrix_ma1sd_storage_backend }}:
database: {{ matrix_ma1sd_storage_provider_postgresql_database }}
username: {{ matrix_ma1sd_storage_provider_postgresql_username }}
password: {{ matrix_ma1sd_storage_provider_postgresql_password }}
#storage:
#provider:
# sqlite:
# database: /var/ma1sd/ma1sd.db
{% if matrix_ma1sd_dns_overwrite_enabled %}
dns:
@ -67,3 +76,15 @@ synapseSql:
enabled: {{ matrix_ma1sd_synapsesql_enabled }}
type: {{ matrix_ma1sd_synapsesql_type }}
connection: {{ matrix_ma1sd_synapsesql_connection }}
lookup:
query: "SELECT user_id AS mxid, medium, address from user_threepid_id_server"
hashing:
enabled: true
pepperLength: 20
rotationPolicy: per_requests
hashStorageType: sql
algorithms:
- sha256
delay: 2m
requests: 10