Datura-Network/2-Decentralization/matrix/data/homeserver.yaml

44 lines
1.3 KiB
YAML
Raw Normal View History

2024-02-26 11:43:56 +01: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
#
# 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: "m.datura.network"
pid_file: /data/homeserver.pid
listeners:
- port: 8008
tls: false
type: http
x_forwarded: true
resources:
- names: [client, federation]
compress: false
database:
name: sqlite3
args:
database: /data/homeserver.db
log_config: "/data/m.datura.network.log.config"
media_store_path: /data/media_store
registration_shared_secret: "SOMETHING3"
report_stats: true
macaroon_secret_key: "SOMETHING2"
form_secret: "SOMETHING1"
signing_key_path: "/data/m.datura.network.signing.key"
trusted_key_servers:
- server_name: "matrix.org"
turn_uris: [ "turn:m.datura.network?transport=udp", "turn:m.datura.network?transport=tcp" ]
turn_shared_secret: "PASSWORDTOCHANGE"
turn_user_lifetime: 86400000
turn_allow_guests: true
# vim:ft=yaml