You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

121 lines
2.6 KiB

  1. {#
  2. This file extends the default 'shared' configuration file (from the 'synapse-workers'
  3. docker image) with Complement-specific tweak.
  4. The base configuration is moved out of the default path to `shared-orig.yaml.j2`
  5. in the Complement Dockerfile and below we include that original file.
  6. #}
  7. ## Server ##
  8. report_stats: False
  9. trusted_key_servers: []
  10. enable_registration: true
  11. enable_registration_without_verification: true
  12. bcrypt_rounds: 4
  13. url_preview_enabled: true
  14. url_preview_ip_range_blacklist: []
  15. ## Registration ##
  16. # Needed by Complement to register admin users
  17. # DO NOT USE in a production configuration! This should be a random secret.
  18. registration_shared_secret: complement
  19. ## Federation ##
  20. # trust certs signed by Complement's CA
  21. federation_custom_ca_list:
  22. - /complement/ca/ca.crt
  23. # unblacklist RFC1918 addresses
  24. federation_ip_range_blacklist: []
  25. # Disable server rate-limiting
  26. rc_federation:
  27. window_size: 1000
  28. sleep_limit: 10
  29. sleep_delay: 500
  30. reject_limit: 99999
  31. concurrent: 3
  32. rc_message:
  33. per_second: 9999
  34. burst_count: 9999
  35. rc_registration:
  36. per_second: 9999
  37. burst_count: 9999
  38. rc_login:
  39. address:
  40. per_second: 9999
  41. burst_count: 9999
  42. account:
  43. per_second: 9999
  44. burst_count: 9999
  45. failed_attempts:
  46. per_second: 9999
  47. burst_count: 9999
  48. rc_admin_redaction:
  49. per_second: 9999
  50. burst_count: 9999
  51. rc_joins:
  52. local:
  53. per_second: 9999
  54. burst_count: 9999
  55. remote:
  56. per_second: 9999
  57. burst_count: 9999
  58. rc_joins_per_room:
  59. per_second: 9999
  60. burst_count: 9999
  61. rc_3pid_validation:
  62. per_second: 1000
  63. burst_count: 1000
  64. rc_invites:
  65. per_room:
  66. per_second: 1000
  67. burst_count: 1000
  68. per_user:
  69. per_second: 1000
  70. burst_count: 1000
  71. federation_rr_transactions_per_room_per_second: 9999
  72. allow_device_name_lookup_over_federation: true
  73. ## Experimental Features ##
  74. experimental_features:
  75. # Enable history backfilling support
  76. msc2716_enabled: true
  77. # client-side support for partial state in /send_join responses
  78. faster_joins: true
  79. # Enable support for polls
  80. msc3381_polls_enabled: true
  81. # Enable deleting device-specific notification settings stored in account data
  82. msc3890_enabled: true
  83. # Enable removing account data support
  84. msc3391_enabled: true
  85. # Filtering /messages by relation type.
  86. msc3874_enabled: true
  87. server_notices:
  88. system_mxid_localpart: _server
  89. system_mxid_display_name: "Server Alert"
  90. system_mxid_avatar_url: ""
  91. room_name: "Server Alert"
  92. # Disable sync cache so that initial `/sync` requests are up-to-date.
  93. caches:
  94. sync_response_cache_duration: 0
  95. {% include "shared-orig.yaml.j2" %}