2022-04-14 09:41:58 +00:00
|
|
|
server_name: "localhost"
|
|
|
|
pid_file: /data/homeserver.pid
|
2022-05-04 14:11:33 +00:00
|
|
|
public_baseurl: "{{PUBLIC_BASEURL}}"
|
2022-04-14 09:41:58 +00:00
|
|
|
listeners:
|
2022-12-12 11:24:14 +00:00
|
|
|
- port: 8008
|
|
|
|
tls: false
|
|
|
|
bind_addresses: ["::"]
|
|
|
|
type: http
|
|
|
|
x_forwarded: true
|
2022-04-14 09:41:58 +00:00
|
|
|
|
2022-12-12 11:24:14 +00:00
|
|
|
resources:
|
|
|
|
- names: [client, federation, consent]
|
|
|
|
compress: false
|
2022-04-14 09:41:58 +00:00
|
|
|
|
|
|
|
database:
|
2022-12-12 11:24:14 +00:00
|
|
|
name: "sqlite3"
|
|
|
|
args:
|
|
|
|
database: ":memory:"
|
2022-04-14 09:41:58 +00:00
|
|
|
|
|
|
|
log_config: "/data/log.config"
|
|
|
|
|
|
|
|
rc_messages_per_second: 10000
|
|
|
|
rc_message_burst_count: 10000
|
|
|
|
rc_registration:
|
|
|
|
per_second: 10000
|
|
|
|
burst_count: 10000
|
|
|
|
|
2022-12-12 11:24:14 +00:00
|
|
|
rc_login:
|
|
|
|
address:
|
|
|
|
per_second: 10000
|
|
|
|
burst_count: 10000
|
|
|
|
account:
|
|
|
|
per_second: 10000
|
|
|
|
burst_count: 10000
|
|
|
|
failed_attempts:
|
|
|
|
per_second: 10000
|
|
|
|
burst_count: 10000
|
|
|
|
|
2022-04-14 09:41:58 +00:00
|
|
|
media_store_path: "/data/media_store"
|
|
|
|
uploads_path: "/data/uploads"
|
|
|
|
enable_registration: true
|
|
|
|
enable_registration_without_verification: true
|
|
|
|
disable_msisdn_registration: false
|
|
|
|
registration_shared_secret: "{{REGISTRATION_SECRET}}"
|
|
|
|
report_stats: false
|
|
|
|
macaroon_secret_key: "{{MACAROON_SECRET_KEY}}"
|
|
|
|
form_secret: "{{FORM_SECRET}}"
|
|
|
|
signing_key_path: "/data/localhost.signing.key"
|
|
|
|
email:
|
2022-12-12 11:24:14 +00:00
|
|
|
enable_notifs: false
|
|
|
|
smtp_host: "localhost"
|
|
|
|
smtp_port: 25
|
|
|
|
smtp_user: "exampleusername"
|
|
|
|
smtp_pass: "examplepassword"
|
|
|
|
require_transport_security: False
|
|
|
|
notif_from: "Your Friendly %(app)s homeserver <noreply@example.com>"
|
|
|
|
app_name: Matrix
|
|
|
|
notif_template_html: notif_mail.html
|
|
|
|
notif_template_text: notif_mail.txt
|
|
|
|
notif_for_new_users: True
|
|
|
|
client_base_url: "http://localhost/element"
|
2022-04-14 09:41:58 +00:00
|
|
|
|
|
|
|
user_consent:
|
2022-12-12 11:24:14 +00:00
|
|
|
template_dir: /data/res/templates/privacy
|
|
|
|
version: 1.0
|
|
|
|
server_notice_content:
|
|
|
|
msgtype: m.text
|
|
|
|
body: >-
|
|
|
|
To continue using this homeserver you must review and agree to the
|
|
|
|
terms and conditions at %(consent_uri)s
|
|
|
|
send_server_notice_to_guests: True
|
|
|
|
block_events_error: >-
|
|
|
|
To continue using this homeserver you must review and agree to the
|
|
|
|
terms and conditions at %(consent_uri)s
|
|
|
|
require_at_registration: true
|
2022-04-14 09:41:58 +00:00
|
|
|
|
|
|
|
server_notices:
|
2022-12-12 11:24:14 +00:00
|
|
|
system_mxid_localpart: notices
|
|
|
|
system_mxid_display_name: "Server Notices"
|
|
|
|
system_mxid_avatar_url: "mxc://localhost:5005/oumMVlgDnLYFaPVkExemNVVZ"
|
|
|
|
room_name: "Server Notices"
|
2022-04-14 09:41:58 +00:00
|
|
|
trusted_key_servers:
|
2022-12-12 11:24:14 +00:00
|
|
|
- server_name: "matrix.org"
|
2022-04-14 09:41:58 +00:00
|
|
|
suppress_key_server_warning: true
|