2022-06-08 12:57:05 +03:00
|
|
|
{#
|
|
|
|
This file extends the default 'shared' configuration file (from the 'synapse-workers'
|
|
|
|
docker image) with Complement-specific tweak.
|
|
|
|
|
|
|
|
The base configuration is moved out of the default path to `shared-orig.yaml.j2`
|
|
|
|
in the Complement Dockerfile and below we include that original file.
|
|
|
|
#}
|
|
|
|
|
2022-04-11 13:39:28 +03:00
|
|
|
## Server ##
|
|
|
|
report_stats: False
|
|
|
|
trusted_key_servers: []
|
|
|
|
enable_registration: true
|
|
|
|
enable_registration_without_verification: true
|
|
|
|
bcrypt_rounds: 4
|
2022-10-18 16:52:23 +03:00
|
|
|
url_preview_enabled: true
|
|
|
|
url_preview_ip_range_blacklist: []
|
2022-04-11 13:39:28 +03:00
|
|
|
|
2022-05-23 14:20:30 +03:00
|
|
|
## Registration ##
|
|
|
|
|
|
|
|
# Needed by Complement to register admin users
|
|
|
|
# DO NOT USE in a production configuration! This should be a random secret.
|
|
|
|
registration_shared_secret: complement
|
|
|
|
|
2022-04-11 13:39:28 +03:00
|
|
|
## Federation ##
|
|
|
|
|
|
|
|
# trust certs signed by Complement's CA
|
|
|
|
federation_custom_ca_list:
|
|
|
|
- /complement/ca/ca.crt
|
|
|
|
|
|
|
|
# unblacklist RFC1918 addresses
|
|
|
|
federation_ip_range_blacklist: []
|
|
|
|
|
|
|
|
# Disable server rate-limiting
|
|
|
|
rc_federation:
|
|
|
|
window_size: 1000
|
|
|
|
sleep_limit: 10
|
|
|
|
sleep_delay: 500
|
|
|
|
reject_limit: 99999
|
|
|
|
concurrent: 3
|
|
|
|
|
|
|
|
rc_message:
|
|
|
|
per_second: 9999
|
|
|
|
burst_count: 9999
|
|
|
|
|
|
|
|
rc_registration:
|
|
|
|
per_second: 9999
|
|
|
|
burst_count: 9999
|
|
|
|
|
|
|
|
rc_login:
|
|
|
|
address:
|
|
|
|
per_second: 9999
|
|
|
|
burst_count: 9999
|
|
|
|
account:
|
|
|
|
per_second: 9999
|
|
|
|
burst_count: 9999
|
|
|
|
failed_attempts:
|
|
|
|
per_second: 9999
|
|
|
|
burst_count: 9999
|
|
|
|
|
|
|
|
rc_admin_redaction:
|
|
|
|
per_second: 9999
|
|
|
|
burst_count: 9999
|
|
|
|
|
|
|
|
rc_joins:
|
|
|
|
local:
|
|
|
|
per_second: 9999
|
|
|
|
burst_count: 9999
|
|
|
|
remote:
|
|
|
|
per_second: 9999
|
|
|
|
burst_count: 9999
|
|
|
|
|
2022-07-19 14:45:17 +03:00
|
|
|
rc_joins_per_room:
|
|
|
|
per_second: 9999
|
|
|
|
burst_count: 9999
|
|
|
|
|
2022-05-13 18:45:47 +03:00
|
|
|
rc_3pid_validation:
|
|
|
|
per_second: 1000
|
|
|
|
burst_count: 1000
|
|
|
|
|
|
|
|
rc_invites:
|
|
|
|
per_room:
|
|
|
|
per_second: 1000
|
|
|
|
burst_count: 1000
|
|
|
|
per_user:
|
|
|
|
per_second: 1000
|
|
|
|
burst_count: 1000
|
|
|
|
|
2022-04-11 13:39:28 +03:00
|
|
|
federation_rr_transactions_per_room_per_second: 9999
|
|
|
|
|
2022-07-04 15:34:50 +03:00
|
|
|
allow_device_name_lookup_over_federation: true
|
|
|
|
|
2022-04-11 13:39:28 +03:00
|
|
|
## Experimental Features ##
|
|
|
|
|
|
|
|
experimental_features:
|
2023-01-19 15:47:10 +03:00
|
|
|
# Enable support for polls
|
|
|
|
msc3381_polls_enabled: true
|
2023-01-13 22:32:10 +03:00
|
|
|
# Enable deleting device-specific notification settings stored in account data
|
|
|
|
msc3890_enabled: true
|
2023-01-01 06:40:46 +03:00
|
|
|
# Enable removing account data support
|
|
|
|
msc3391_enabled: true
|
2023-01-19 15:47:10 +03:00
|
|
|
# Filtering /messages by relation type.
|
|
|
|
msc3874_enabled: true
|
2024-04-15 13:57:56 +03:00
|
|
|
# no UIA for x-signing upload for the first time
|
|
|
|
msc3967_enabled: true
|
2024-05-02 13:48:27 +03:00
|
|
|
# Expose a room summary for public rooms
|
|
|
|
msc3266_enabled: true
|
2022-04-11 13:39:28 +03:00
|
|
|
|
|
|
|
server_notices:
|
|
|
|
system_mxid_localpart: _server
|
|
|
|
system_mxid_display_name: "Server Alert"
|
|
|
|
system_mxid_avatar_url: ""
|
|
|
|
room_name: "Server Alert"
|
2022-06-08 12:57:05 +03:00
|
|
|
|
2024-09-23 15:33:48 +03:00
|
|
|
# Enable delayed events (msc4140)
|
|
|
|
max_event_delay_duration: 24h
|
|
|
|
|
2022-06-15 19:55:20 +03:00
|
|
|
|
|
|
|
# Disable sync cache so that initial `/sync` requests are up-to-date.
|
|
|
|
caches:
|
|
|
|
sync_response_cache_duration: 0
|
|
|
|
|
|
|
|
|
2022-06-08 12:57:05 +03:00
|
|
|
{% include "shared-orig.yaml.j2" %}
|