Přidání souboru homeserver.yaml

This commit is contained in:
archos 2024-07-03 20:20:33 +02:00
parent 65c2b9b5e0
commit f8e31dcc47

260
homeserver.yaml Normal file
View File

@ -0,0 +1,260 @@
account_threepid_delegates:
msisdn: ''
alias_creation_rules:
- action: allow
alias: '*'
room_id: '*'
user_id: '*'
allow_guest_access: false
allow_public_rooms_over_federation: true
allow_public_rooms_without_auth: true
app_service_config_files:
- /matrix-beeper-linkedin-registration.yaml
- /matrix-mautrix-discord-registration.yaml
- /matrix-mautrix-googlechat-registration.yaml
- /matrix-mautrix-signal-registration.yaml
- /matrix-mautrix-meta-messenger-registration.yaml
- /matrix-mautrix-meta-instagram-registration.yaml
- /matrix-mautrix-telegram-registration.yaml
- /matrix-mautrix-gmessages-registration.yaml
- /matrix-mautrix-whatsapp-registration.yaml
- /matrix-mx-puppet-steam-registration.yaml
auto_accept_invites:
enabled: false
only_for_direct_messages: false
only_from_local_users: false
worker_to_run_on: null
autocreate_auto_join_rooms: true
background_updates: null
caches:
cache_autotuning:
max_cache_memory_usage: 2096627712
min_cache_ttl: 30s
target_cache_memory_usage: 1048313856
cache_entry_ttl: 1080m
expire_caches: true
global_factor: 10
per_cache_factors: null
sync_response_cache_duration: 2m
cas_config: null
database:
args:
cp_max: 10
cp_min: 5
database: synapse
host: matrix-postgres
password: # odstraněno pro bezpečnost
port: 5432
user: synapse
name: psycopg2
txn_limit: 0
default_room_version: '10'
disable_msisdn_registration: true
email:
app_name: Matrix
client_base_url: https://element.mxchat.cz
enable_notifs: true
enable_tls: true
invite_client_location: https://app.element.io
notif_for_new_users: true
notif_from: Matrix <server@matrix.mxchat.cz>
require_transport_security: false
smtp_host: matrix-exim-relay
smtp_port: 8025
enable_media_repo: true
enable_metrics: true
enable_registration: true
enable_registration_captcha: false
enable_registration_without_verification: false
enable_room_list_search: true
encryption_enabled_by_default_for_room_type: 'off'
event_cache_size: 100K
federation_rr_transactions_per_room_per_second: 50
forget_rooms_on_leave: true
forgotten_room_retention_period: 7d
form_secret: # odstraněno pro bezpečnost
include_profile_data_on_invite: true
instance_map: {}
limit_profile_requests_to_users_who_share_rooms: false
limit_remote_rooms: null
listeners:
- bind_addresses:
- 0.0.0.0
port: 9100
type: metrics
- bind_addresses:
- '::'
port: 8008
resources:
- compress: false
names:
- client
tls: false
type: http
x_forwarded: true
- bind_addresses:
- '::'
port: 8048
resources:
- compress: false
names:
- federation
tls: false
type: http
x_forwarded: true
log_config: /data/matrix.mxchat.cz.log.config
macaroon_secret_key: # odstraněno pro bezpečnost
manhole_settings: null
max_spider_size: 10M
max_upload_size: 1024M
media_retention:
remote_media_lifetime: 7d
media_storage_providers:
- config:
access_key_id: # odstraněno pro bezpečnost
bucket:
endpoint_url:
region_name:
secret_access_key: # odstraněno pro bezpečnost
storage_class: STANDARD
threadpool_size: 40
module: s3_storage_provider.S3StorageProviderBackend
store_local: true
store_remote: true
store_synchronous: false
media_store_path: /matrix-media-store-parent/media-store
metrics_flags: null
modules:
- config:
com_devture_shared_secret_auth_support_enabled: true
m_login_password_support_enabled: true
shared_secret: # odstraněno pro bezpečnost
module: shared_secret_authenticator.SharedSecretAuthProvider
oembed: null
old_signing_keys: null
opentracing: null
password_config:
enabled: true
localdb_enabled: true
pepper: # odstraněno pro bezpečnost
policy: null
pid_file: /homeserver.pid
presence:
enabled: true
public_baseurl: https://matrix.mxchat.cz/
push:
include_content: true
rc_admin_redaction:
burst_count: 50
per_second: 1
rc_federation:
concurrent: 3
reject_limit: 50
sleep_delay: 500
sleep_limit: 10
window_size: 1000
rc_invites:
per_issuer:
burst_count: 10
per_second: 0.3
per_room:
burst_count: 10
per_second: 0.3
per_user:
burst_count: 5
per_second: 0.003
rc_joins:
local:
burst_count: 10
per_second: 0.1
remote:
burst_count: 10
per_second: 0.01
rc_login:
account:
burst_count: 3
per_second: 0.17
address:
burst_count: 3
per_second: 0.17
failed_attempts:
burst_count: 3
per_second: 0.17
rc_message:
burst_count: 10
per_second: 0.2
rc_registration:
burst_count: 3
per_second: 0.17
recaptcha_private_key: ''
recaptcha_public_key: ''
redaction_retention_period: 5m
redis:
dbid: 15
enabled: false
host: null
password: null
port: 6379
registration_requires_token: true
registration_shared_secret: # odstraněno pro bezpečnost
report_stats: false
require_auth_for_profile_requests: false
retention: null
room_list_publication_rules:
- action: allow
alias: '*'
room_id: '*'
user_id: '*'
room_prejoin_state: null
saml2_config:
sp_config: null
user_mapping_provider:
config: null
server_name: mxchat.cz
signing_key_path: # odstraněno pro bezpečnost
sso: null
stats: null
stream_writers: {}
templates: null
tls_certificate_path: # odstraněno pro bezpečnost
tls_private_key_path: # odstraněno pro bezpečnost
trusted_key_servers:
- server_name: matrix.org
turn_allow_guests: false
turn_password: # odstraněno pro bezpečnost
turn_shared_secret: # odstraněno pro bezpečnost
turn_uris:
- turns:matrix.mxchat.cz?transport=udp
- turns:matrix.mxchat.cz?transport=tcp
- turn:matrix.mxchat.cz?transport=udp
- turn:matrix.mxchat.cz?transport=tcp
turn_username: ''
ui_auth: null
url_preview_accept_language:
- en-US
- en
url_preview_enabled: true
url_preview_ip_range_blacklist:
- 127.0.0.0/8
- 10.0.0.0/8
- 172.16.0.0/12
- 192.168.0.0/16
- 100.64.0.0/10
- 192.0.0.0/24
- 169.254.0.0/16
- 192.88.99.0/24
- 198.18.0.0/15
- 192.0.2.0/24
- 198.51.100.0/24
- 203.0.113.0/24
- 224.0.0.0/4
- ::1/128
- fe80::/10
- fc00::/7
- 2001:db8::/32
- ff00::/8
- fec0::/10
user_directory:
prefer_local_users: true
search_all_users: true
user_ips_max_age: 5m