matrix-fuzz

git clone git://archive.git.mtrnord.blog/MTRNord/matrix-fuzz.git
Log | Files | Refs | README | LICENSE

synapse_config.yaml (2828B)


      1 ## Server ##
      2 
      3 server_name: "synapse"
      4 public_baseurl: "http://synapse:8008"
      5 pid_file: /homeserver.pid
      6 web_client: False
      7 soft_file_limit: 0
      8 log_config: "/synapse/config/log.yaml"
      9 report_stats: false
     10 
     11 ## Ports ##
     12 
     13 listeners:
     14   - port: 8008
     15     tls: false
     16     bind_addresses: ["::"]
     17     type: http
     18     x_forwarded: true
     19 
     20     resources:
     21       - names: [client, federation]
     22         compress: false
     23 
     24   - port: 9090
     25     tls: false
     26     bind_addresses: ["::"]
     27     type: http
     28 
     29     resources:
     30       - names: [metrics]
     31         compress: false
     32 
     33   - port: 9093
     34     tls: false
     35     bind_addresses: ["::"]
     36     type: http
     37 
     38     resources:
     39       - names: [replication]
     40         compress: false
     41 
     42 ## Files ##
     43 media_store_path: "/data/media"
     44 uploads_path: "/data/uploads"
     45 
     46 ## Registration ##
     47 registration_shared_secret: "sahZae3yahjaequ8boh2cae5uo5eiciede2hoa9eew8mai1oy4iiChietheequ9U"
     48 enable_registration: false
     49 
     50 ## API Configuration ##
     51 
     52 ## Database configuration ##
     53 database:
     54   name: "psycopg2"
     55   args:
     56     user: "postgres"
     57     password: "postgres"
     58     sslmode: "prefer"
     59     database: "synapse"
     60     port: 5432
     61     cp_min: 5
     62     cp_max: 10
     63     host: "postgres"
     64 
     65 ## Redis configuration ##
     66 redis:
     67   enabled: true
     68   host: "redis"
     69   port: 6379
     70 
     71 ## Metrics ###
     72 
     73 enable_metrics: true
     74 
     75 ## Signing Keys ##
     76 
     77 signing_key_path: "/synapse/keys/signing.key"
     78 
     79 # The trusted servers to download signing keys from.
     80 trusted_key_servers:
     81   - server_name: matrix.org
     82 
     83 ## Extra config ##
     84 
     85 enable_media_repo: false
     86 federation_domain_whitelist: []
     87 federation_rr_transactions_per_room_per_second: 1000000000000
     88 rc_3pid_validation:
     89   burst_count: 150000000000
     90   per_second: 1000000000000
     91 rc_admin_redaction:
     92   burst_count: 150000000000
     93   per_second: 1000000000000
     94 rc_federation:
     95   concurrent: 3
     96   reject_limit: 1000000000000
     97   sleep_delay: 500
     98   sleep_limit: 10
     99   window_size: 1000
    100 rc_invites:
    101   per_issuer:
    102     burst_count: 150000000000
    103     per_second: 1000000000000
    104   per_room:
    105     burst_count: 150000000000
    106     per_second: 1000000000000
    107   per_user:
    108     burst_count: 150000000000
    109     per_second: 1000000000000
    110 rc_joins:
    111   local:
    112     burst_count: 150000000000
    113     per_second: 1000000000000
    114   remote:
    115     burst_count: 150000000000
    116     per_second: 1000000000000
    117 rc_joins_per_room:
    118   burst_count: 150000000000
    119   per_second: 1000000000000
    120 rc_login:
    121   account:
    122     burst_count: 150000000000
    123     per_second: 1000000000000
    124   address:
    125     burst_count: 150000000000
    126     per_second: 1000000000000
    127   failed_attempts:
    128     burst_count: 150000000000
    129     per_second: 1000000000000
    130 rc_message:
    131   burst_count: 150000000000
    132   per_second: 1000000000000
    133 rc_registration:
    134   burst_count: 150000000000
    135   per_second: 1000000000000
    136 rc_registration_token_validity:
    137   burst_count: 150000000000
    138   per_second: 1000000000000
    139 rc_third_party_invite:
    140   burst_count: 150000000000
    141   per_second: 1000000000000