matrix-public-archive/test/dockerfiles/synapse/homeserver.yaml

121 lines
2.5 KiB
YAML

## Server ##
server_name: SERVER_NAME
log_config: /conf/log_config.yaml
report_stats: False
signing_key_path: /conf/server.signing.key
trusted_key_servers: []
enable_registration: true
enable_registration_without_verification: true
allow_public_rooms_over_federation: true
## Listeners ##
tls_certificate_path: /conf/server.tls.crt
tls_private_key_path: /conf/server.tls.key
bcrypt_rounds: 4
registration_shared_secret: matrix_viewer
listeners:
- port: 8448
bind_addresses: ['::']
type: http
tls: true
resources:
- names: [federation]
- port: 8008
bind_addresses: ['::']
type: http
resources:
- names: [client]
## Database ##
database:
name: 'sqlite3'
args:
# We avoid /data, as it is a volume and is not transferred when the container is committed,
# which is a fundamental necessity in complement.
database: '/conf/homeserver.db'
## Federation ##
# disable verification of federation certificates
#
# TODO: this is temporary until https://github.com/matrix-org/complement/pull/28 lands and
# allows homeservers spun up by complement access to the complement CA certificate to trust
federation_verify_certificates: false
# trust certs signed by the dummy CA
federation_custom_ca_list:
- /ca/ca.crt
# unblacklist RFC1918 addresses
ip_range_blacklist: []
# Disable server rate-limiting
rc_federation:
window_size: 1000
sleep_limit: 10
sleep_delay: 500
reject_limit: 99999
concurrent: 3
rc_message:
per_second: 9999
burst_count: 9999
rc_registration:
per_second: 9999
burst_count: 9999
rc_login:
address:
per_second: 9999
burst_count: 9999
account:
per_second: 9999
burst_count: 9999
failed_attempts:
per_second: 9999
burst_count: 9999
rc_admin_redaction:
per_second: 9999
burst_count: 9999
rc_joins:
local:
per_second: 9999
burst_count: 9999
remote:
per_second: 9999
burst_count: 9999
federation_rr_transactions_per_room_per_second: 9999
## Media Store ##
# Whether to generate new thumbnails on the fly. This lets the image thumbnails
# load in the tests.
#
dynamic_thumbnails: true
## API Configuration ##
# A list of application service config files to use
#
app_service_config_files:
# We use this to provide a constant matrixAccessToken for the tests
- /conf/as_registration.yaml
## Experimental Features ##
experimental_features:
# Enable history backfilling support
msc2716_enabled: true
# Enable jump to date endpoint
msc3030_enabled: true