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