version: 2
global:
  server_name: matrix.anarchistlaboratory.live
  key_id: ed25519:auto
  private_key: matrix_key.pem
  old_private_keys: []
  key_validity_period: 168h0m0s
  database:
    connection_string: postgres://dendrite:bdsuVeGpL0CzNG1M3iEk@postgres/dendrite?sslmode=disable
    max_open_conns: 90
    max_idle_conns: 2
    conn_max_lifetime: -1
  well_known_server_name: ""
  well_known_client_name: ""
  well_known_sliding_sync_proxy: ""
  disable_federation: false
  presence:
    enable_inbound: false
    enable_outbound: false
  trusted_third_party_id_servers:
  - matrix.org
  - vector.im
  jetstream:
    storage_path: /var/dendrite/
    addresses: []
    topic_prefix: Dendrite
    js_domain: ""
    in_memory: false
    disable_tls_validation: true
    credentials_path: ""
  metrics:
    enabled: false
    basic_auth:
      username: metrics
      password: metrics
  sentry:
    enabled: false
    dsn: ""
    environment: ""
  dns_cache:
    enabled: false
    cache_size: 256
    cache_lifetime: 5m0s
  server_notices:
  server_notices:
    enabled: true
    local_part: _server
    display_name: Server Alert
    avatar_url: ""
    room_name: Server Alert
  report_stats:
    enabled: false
    endpoint: https://panopticon.matrix.org/push
  cache:
    max_size_estimated: 1073741824
    max_age: 1h0m0s
app_service_api:
  disable_tls_validation: false
  legacy_auth: false
  legacy_paths: false
  config_files: []
client_api:
  registration_disabled: true
  registration_requires_token: true
  registration_shared_secret: "AnComTest"
  guests_disabled: false
  enable_registration_captcha: false
  recaptcha_api_js_url: ""
  recaptcha_sitekey_class: ""
  recaptcha_form_field: ""
  recaptcha_public_key: ""
  recaptcha_private_key: ""
  recaptcha_bypass_secret: ""
  recaptcha_siteverify_api: ""
  turn:
    turn_user_lifetime: ""
    turn_uris: []
    turn_shared_secret: ""
    turn_username: ""
    turn_password: ""
  rate_limiting:
    enabled: true
    threshold: 5
    cooloff_ms: 500
    exempt_user_ids: []
federation_api:
  send_max_retries: 16
  enable_relays: false
  p2p_retries_until_assumed_offline: 1
  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
  deny_networks:
  - 127.0.0.1/8
  - 10.0.0.0/8
  - 172.16.0.0/12
  - 192.168.0.0/16
  - 100.64.0.0/10
  - 169.254.0.0/16
  - ::1/128
  - fe80::/64
  - fc00::/7
  allow_networks:
  - 0.0.0.0/0
key_server: {}
media_api:
  base_path: /var/dendrite/media
  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
room_server:
  default_room_version: "10"
sync_api:
  real_ip_header: ""
  search:
    enabled: false
    index_path: /var/dendrite/searchindex
    in_memory: false
    language: en
user_api:
  bcrypt_cost: 10
  openid_token_lifetime_ms: 3600000
  push_gateway_disable_tls_validation: false
  auto_join_rooms: []
  worker_count: 8
relay_api: {}
mscs:
  mscs: []
tracing:
  enabled: false
  jaeger:
    serviceName: ""
    disabled: false
    rpc_metrics: false
    traceid_128bit: false
    tags: []
    sampler: null
    reporter: null
    headers: null
    baggage_restrictions: null
    throttler: null
logging:
- type: file
  level: info
  params:
    path: /var/dendrite/log

