1
0
Fork 0
distrust-stack/kustomizations/matrix/synapse/files/homeserver.yaml

99 lines
2.2 KiB
YAML
Raw Permalink Normal View History

2024-01-22 05:55:00 +00: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: "distrust.co"
pid_file: /data/homeserver.pid
use_presense: true
enable_search: true
public_baseurl: "https://matrix.distrust.co"
# Homeserver blocking
# Set to true to globally block access to the homeserver
hs_disabled: false
hs_disalbed_message: "Homeserver is not currently accessible"
# Federation
allow_public_rooms_over_federation: true
# federation_domain_whitelist: []
federation_ip_range_blacklist:
- '127.0.0.0/8'
- '10.0.0.0/8'
- '172.16.0.0/12'
- '192.168.0.0/16'
- '100.64.0.0/10'
- '169.254.0.0/16'
- '::1/128'
- 'fe80::/64'
- 'fc00::/7'
# Listeners
listeners:
- port: 8008
tls: false
type: http
x_forwarded: true
resources:
- names: [client, federation]
compress: false
- port: 9002
type: metrics
resources:
- name: [metrics]
compress: true
# Rate Limit
rc_invites:
per_room:
burst_count: 200
per_user:
burst_count: 200
rc_joins:
local:
burst_count: 200
remote:
burst_count: 200
rc_joins_per_user:
burst_count: 200
2024-01-22 05:55:00 +00:00
# Registration
registration:
enabled: false
allowGuests: false
autoJoinRooms: []
# This is handled by Cert Manager
acme:
enabled: false
# Bridges
app_service_config_files:
2024-05-24 14:30:37 +00:00
- /bridges/appservice-matrix-bridge.yaml
2024-01-22 05:55:00 +00:00
- /bridges/mautrix-telegram-bridge.yaml
2024-03-31 21:40:26 +00:00
- /bridges/mautrix-slack-bridge.yaml
- /bridges/doublepuppet.yaml
2024-01-22 05:55:00 +00:00
# Turn
turn_user_lifetime: 1h
turn_allow_guests: true
# Metrics/Telemetry
enable_metrics: true
report_stats: false
admin_email: "mailto:matrix@distrust.co"
log_config: "/config/log.config"
media_store_path: /data/media_store
signing_key_path: "/config/keys/signing.key"
trusted_key_servers:
- server_name: "matrix.org"
# vim:ft=yaml