1
0
mirror of https://github.com/ArcticFoxes-net/Synapse-Ubuntu-ZFS synced 2024-12-22 15:41:35 -05:00
Synapse-Ubuntu-ZFS/etc/matrix-synapse/homeserver.yaml

40 lines
1.3 KiB
YAML
Raw Normal View History

2023-08-25 16:17:37 -04: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
#
# This is set in /etc/matrix-synapse/conf.d/server_name.yaml for Debian installations.
# server_name: "SERVERNAME"
pid_file: "/var/run/matrix-synapse.pid"
listeners:
2023-09-08 17:38:07 -04:00
- path: /var/lib/matrix-synapse/matrix-synapse.sock
mode: 0660
2023-08-25 16:17:37 -04:00
tls: false
type: http
x_forwarded: true
bind_addresses: ['::1', '127.0.0.1']
resources:
- names: [client, federation]
compress: false
database:
name: psycopg2
args:
2023-09-08 11:19:50 -04:00
user: 'synapse'
password: 'REDACTED'
host: '/var/run/postgresql'
database: 'synapse'
2023-08-25 16:17:37 -04:00
cp_min: 5
cp_max: 10
log_config: "/etc/matrix-synapse/log.yaml"
signing_key_path: "/etc/matrix-synapse/homeserver.signing.key"
trusted_key_servers:
- server_name: "matrix.org"
suppress_key_server_warning: true