2020-02-14 19:22:30 +03:00
|
|
|
# This file is maintained as an up-to-date snapshot of the default
|
2022-06-14 17:53:42 +03:00
|
|
|
# homeserver.yaml configuration generated by Synapse. You can find a
|
|
|
|
# complete accounting of possible configuration options at
|
2023-12-13 19:15:22 +03:00
|
|
|
# https://element-hq.github.io/synapse/latest/usage/configuration/config_documentation.html
|
2019-03-07 10:09:01 +03:00
|
|
|
#
|
|
|
|
# It is *not* intended to be copied and used as the basis for a real
|
|
|
|
# homeserver.yaml. Instead, if you are starting from scratch, please generate
|
2021-07-08 17:46:13 +03:00
|
|
|
# a fresh config using Synapse by following the instructions in
|
2023-12-13 19:15:22 +03:00
|
|
|
# https://element-hq.github.io/synapse/latest/setup/installation.html.
|
2022-06-14 17:53:42 +03:00
|
|
|
#
|
2020-02-14 19:22:30 +03:00
|
|
|
################################################################################
|
|
|
|
|
|
|
|
# Configuration file for Synapse.
|
|
|
|
#
|
|
|
|
# This is a YAML file: see [1] for a quick introduction. Note in particular
|
|
|
|
# that *indentation is important*: all the elements of a list or dictionary
|
|
|
|
# should have the same indentation.
|
|
|
|
#
|
|
|
|
# [1] https://docs.ansible.com/ansible/latest/reference_appendices/YAMLSyntax.html
|
2019-03-04 20:14:58 +03:00
|
|
|
#
|
2022-06-14 17:53:42 +03:00
|
|
|
# For more information on how to configure Synapse, including a complete accounting of
|
|
|
|
# each option, go to docs/usage/configuration/config_documentation.md or
|
2023-12-13 19:15:22 +03:00
|
|
|
# https://element-hq.github.io/synapse/latest/usage/configuration/config_documentation.html
|
2019-03-04 20:14:58 +03:00
|
|
|
server_name: "SERVERNAME"
|
|
|
|
pid_file: DATADIR/homeserver.pid
|
|
|
|
listeners:
|
|
|
|
- port: 8008
|
|
|
|
tls: false
|
|
|
|
type: http
|
|
|
|
x_forwarded: true
|
2019-08-28 15:12:22 +03:00
|
|
|
bind_addresses: ['::1', '127.0.0.1']
|
2019-03-04 20:14:58 +03:00
|
|
|
resources:
|
|
|
|
- names: [client, federation]
|
|
|
|
compress: false
|
|
|
|
database:
|
2020-03-20 18:24:22 +03:00
|
|
|
name: sqlite3
|
2019-03-04 20:14:58 +03:00
|
|
|
args:
|
2020-03-20 18:24:22 +03:00
|
|
|
database: DATADIR/homeserver.db
|
2019-03-04 20:14:58 +03:00
|
|
|
log_config: "CONFDIR/SERVERNAME.log.config"
|
2022-06-14 17:53:42 +03:00
|
|
|
media_store_path: DATADIR/media_store
|
2019-03-04 20:14:58 +03:00
|
|
|
signing_key_path: "CONFDIR/SERVERNAME.signing.key"
|
2019-09-26 14:57:01 +03:00
|
|
|
trusted_key_servers:
|
|
|
|
- server_name: "matrix.org"
|