homeserver.yaml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. ## Server ##
  2. server_name: SERVER_NAME
  3. log_config: /conf/log_config.yaml
  4. report_stats: False
  5. signing_key_path: /conf/server.signing.key
  6. trusted_key_servers: []
  7. enable_registration: true
  8. enable_registration_without_verification: true
  9. ## Listeners ##
  10. tls_certificate_path: /conf/server.tls.crt
  11. tls_private_key_path: /conf/server.tls.key
  12. bcrypt_rounds: 4
  13. registration_shared_secret: complement
  14. listeners:
  15. - port: 8448
  16. bind_addresses: ['::']
  17. type: http
  18. tls: true
  19. resources:
  20. - names: [federation]
  21. - port: 8008
  22. bind_addresses: ['::']
  23. type: http
  24. resources:
  25. - names: [client]
  26. ## Database ##
  27. database:
  28. name: "sqlite3"
  29. args:
  30. # We avoid /data, as it is a volume and is not transferred when the container is committed,
  31. # which is a fundamental necessity in complement.
  32. database: "/conf/homeserver.db"
  33. ## Federation ##
  34. # trust certs signed by the complement CA
  35. federation_custom_ca_list:
  36. - /complement/ca/ca.crt
  37. # unblacklist RFC1918 addresses
  38. ip_range_blacklist: []
  39. # Disable server rate-limiting
  40. rc_federation:
  41. window_size: 1000
  42. sleep_limit: 10
  43. sleep_delay: 500
  44. reject_limit: 99999
  45. concurrent: 3
  46. rc_message:
  47. per_second: 9999
  48. burst_count: 9999
  49. rc_registration:
  50. per_second: 9999
  51. burst_count: 9999
  52. rc_login:
  53. address:
  54. per_second: 9999
  55. burst_count: 9999
  56. account:
  57. per_second: 9999
  58. burst_count: 9999
  59. failed_attempts:
  60. per_second: 9999
  61. burst_count: 9999
  62. rc_admin_redaction:
  63. per_second: 9999
  64. burst_count: 9999
  65. rc_joins:
  66. local:
  67. per_second: 9999
  68. burst_count: 9999
  69. remote:
  70. per_second: 9999
  71. burst_count: 9999
  72. rc_3pid_validation:
  73. per_second: 1000
  74. burst_count: 1000
  75. rc_invites:
  76. per_room:
  77. per_second: 1000
  78. burst_count: 1000
  79. per_user:
  80. per_second: 1000
  81. burst_count: 1000
  82. federation_rr_transactions_per_room_per_second: 9999
  83. ## API Configuration ##
  84. # A list of application service config files to use
  85. #
  86. app_service_config_files:
  87. AS_REGISTRATION_FILES
  88. ## Experimental Features ##
  89. experimental_features:
  90. # Enable spaces support
  91. spaces_enabled: true
  92. # Enable history backfilling support
  93. msc2716_enabled: true
  94. # server-side support for partial state in /send_join responses
  95. msc3706_enabled: true
  96. # client-side support for partial state in /send_join responses
  97. faster_joins: true
  98. # Enable jump to date endpoint
  99. msc3030_enabled: true
  100. server_notices:
  101. system_mxid_localpart: _server
  102. system_mxid_display_name: "Server Alert"
  103. system_mxid_avatar_url: ""
  104. room_name: "Server Alert"