36 lines
989 B
Text
36 lines
989 B
Text
|
# Configuration file for Synapse.
|
||
|
#
|
||
|
# For more information on how to configure Synapse, including a complete accounting of
|
||
|
# each option, go to docs/usage/configuration/config_documentation.md or
|
||
|
# https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html
|
||
|
server_name: "{{ matrix_domain }}"
|
||
|
pid_file: /data/homeserver.pid
|
||
|
listeners:
|
||
|
- port: 8008
|
||
|
tls: false
|
||
|
type: http
|
||
|
x_forwarded: true
|
||
|
resources:
|
||
|
- names: [client, federation]
|
||
|
compress: false
|
||
|
database:
|
||
|
name: psycopg2
|
||
|
args:
|
||
|
user: synapse
|
||
|
password: "{{ database_password }}"
|
||
|
host: db
|
||
|
cp_min: 5
|
||
|
cp_max: 10
|
||
|
log_config: "/data/matrix.log.config"
|
||
|
media_store_path: "/data/media"
|
||
|
registration_shared_secret: "{{ registration_shared_secret }}"
|
||
|
report_stats: false
|
||
|
macaroon_secret_key: "{{ macaroon_secret_key }}"
|
||
|
form_secret: "{{ form_secret }}"
|
||
|
signing_key_path: "/data/matrix.signing.key"
|
||
|
trusted_key_servers:
|
||
|
- server_name: "matrix.org"
|
||
|
|
||
|
|
||
|
# vim:ft=yaml
|