infrastructure/dendrite/config/dendrite.yaml

151 lines
2.9 KiB
YAML

version: 2
global:
server_name: fruw.org
private_key: matrix_key.pem
key_validity_period: 168h0m0s
database:
connection_string: postgresql://dendrite:$DENDRITE_DB_PASSWORD@matrix.fruw.org/dendrite?sslmode=disable
max_open_conns: 90
max_idle_conns: 5
conn_max_lifetime: -1
cache:
max_size_estimated: 1gb
max_age: 1h
well_known_server_name: ""
well_known_client_name: ""
trusted_third_party_id_servers:
- matrix.org
- vector.im
disable_federation: false
presence:
enable_inbound: false
enable_outbound: false
report_stats:
enabled: false
endpoint: https://panopticon.matrix.org/push
server_notices:
enabled: false
local_part: "_server"
display_name: "Server Alerts"
avatar_url: ""
room_name: "Server Alerts"
jetstream:
addresses:
disable_tls_validation: false
storage_path: ./
topic_prefix: Dendrite
metrics:
enabled: false
basic_auth:
username: metrics
password: metrics
dns_cache:
enabled: false
cache_size: 256
cache_lifetime: "5m" # 5 minutes; https://pkg.go.dev/time@master#ParseDuration
app_service_api:
disable_tls_validation: false
config_files:
client_api:
registration_disabled: true
guests_disabled: true
registration_shared_secret: "$DENDRITE_SHARED_SECRET"
enable_registration_captcha: false
recaptcha_public_key: ""
recaptcha_private_key: ""
recaptcha_bypass_secret: ""
turn:
turn_user_lifetime: "5m"
turn_uris:
turn_shared_secret: ""
rate_limiting:
enabled: false
threshold: 20
cooloff_ms: 500
exempt_user_ids:
# - "@user:domain.com"
federation_api:
send_max_retries: 16
disable_tls_validation: false
disable_http_keepalives: false
key_perspectives:
- server_name: matrix.org
keys:
- key_id: ed25519:auto
public_key: Noi6WqcDj0QmPxCNQqgezwTlBKrfqehY1u2FyWP9uYw
- key_id: ed25519:a_RXGa
public_key: l8Hft5qXKn1vfHrg3p4+W8gELQVo8N13JkluMfmn2sQ
prefer_direct_fetch: false
media_api:
base_path: ./media_store
max_file_size_bytes: 10485760
dynamic_thumbnails: false
max_thumbnail_generators: 10
thumbnail_sizes:
- width: 32
height: 32
method: crop
- width: 96
height: 96
method: crop
- width: 640
height: 480
method: scale
mscs:
mscs:
# - msc2836 # (Threading, see https://github.com/matrix-org/matrix-doc/pull/2836)
sync_api:
search:
enabled: false
index_path: "./searchindex"
language: "ru"
user_api:
bcrypt_cost: 10
auto_join_rooms:
# - "#main:matrix.org"
tracing:
enabled: false
jaeger:
serviceName: ""
disabled: false
rpc_metrics: false
tags: []
sampler: null
reporter: null
headers: null
baggage_restrictions: null
throttler: null
logging:
- type: std
level: info
- type: file
level: info
params:
path: ./logs