server_name: "$BASE_URL" pid_file: /homeserver.pid web_client: false soft_file_limit: 0 log_config: "/config/log.config" listeners: - port: 8008 tls: false bind_addresses: ['::'] type: http x_forwarded: false resources: - names: [client] compress: true - names: [federation] compress: false database: name: "psycopg2" args: host: "$POSTGRES_HOST" port: "$POSTGRES_PORT" database: "$POSTGRES_DB" user: "$POSTGRES_USER" password: "$POSTGRES_PASSWORD" cp_min: 5 cp_max: 10 event_cache_size: "10K" rc_messages_per_second: 0.2 rc_message_burst_count: 10.0 federation_rc_window_size: 1000 federation_rc_sleep_limit: 10 federation_rc_sleep_delay: 500 federation_rc_reject_limit: 50 federation_rc_concurrent: 3 media_store_path: "/data/media" max_upload_size: "50M" max_image_pixels: "32M" dynamic_thumbnails: false thumbnail_sizes: - width: 32 height: 32 method: crop - width: 96 height: 96 method: crop - width: 320 height: 240 method: scale - width: 640 height: 480 method: scale - width: 800 height: 600 method: scale url_preview_enabled: false max_spider_size: "10M" enable_registration_captcha: false turn_uris: [ "turn:$TURN_URL?transport=tcp", "turn:$TURN_URL?transport=udp" ] turn_shared_secret: "$TURN_SHARED_SECRET" turn_user_lifetime: "1h" turn_allow_guests: true enable_registration: false registration_shared_secret: "$REGISTRATION_SECRET" enable_metrics: true report_stats: true macaroon_secret_key: "$API_SECRET" expire_access_token: false signing_key_path: "/keys/signing.key" key_refresh_interval: "1d" trusted_key_servers: - server_name: matrix.org verify_keys: "ed25519:auto": "Noi6WqcDj0QmPxCNQqgezwTlBKrfqehY1u2FyWP9uYw" password_config: enabled: true encryption_enabled_by_default_for_room_type: "all" serve_server_wellknown: true