133 lines
2.8 KiB
Cheetah
133 lines
2.8 KiB
Cheetah
tls_certificate_path: "/etc/ssl/matrix-synapse/{{getenv "CERT_DOMAIN"}}.crt"
|
|
tls_private_key_path: "/etc/ssl/matrix-synapse/{{getenv "CERT_DOMAIN"}}.key"
|
|
|
|
tls_dh_params_path: "/var/lib/matrix-synapse/signing/dhparams.pem"
|
|
no_tls: False
|
|
|
|
server_name: "{{getenv "SERVER_NAME"}}"
|
|
|
|
pid_file: /var/lib/matrix-synapse/homeserver.pid
|
|
|
|
web_client: True
|
|
public_baseurl: {{getenv "PUBLIC_BASE_URL"}}
|
|
|
|
soft_file_limit: 0
|
|
|
|
listeners:
|
|
-
|
|
port: 8448
|
|
bind_address: ''
|
|
type: http
|
|
tls: true
|
|
x_forwarded: false
|
|
resources:
|
|
-
|
|
names:
|
|
- client
|
|
- webclient
|
|
compress: true
|
|
|
|
- names: [federation]
|
|
compress: false
|
|
|
|
- port: 8008
|
|
tls: false
|
|
bind_address: ''
|
|
type: http
|
|
x_forwarded: false
|
|
|
|
resources:
|
|
- names: [client, webclient]
|
|
compress: true
|
|
- names: [federation]
|
|
compress: false
|
|
|
|
database:
|
|
name: "psycopg2"
|
|
args:
|
|
user: {{getenv "DB_USER"}}
|
|
password: {{getenv "DB_PASSWORD"}}
|
|
database: {{getenv "DB_NAME"}}
|
|
host: {{getenv "DB_HOST"}}
|
|
cp_min: 5
|
|
cp_max: 10
|
|
|
|
event_cache_size: "10K"
|
|
|
|
verbose: 0
|
|
log_file: "/var/lib/matrix-synapse/homeserver.log"
|
|
log_config: "/var/lib/matrix-synapse/log.config"
|
|
|
|
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: "/var/lib/matrix-synapse/media_store"
|
|
uploads_path: "/var/lib/matrix-synapse/uploads"
|
|
max_upload_size: "{{getenv "MAX_UPLOAD_SIZE" "10M"}}"
|
|
max_image_pixels: "{{getenv "MAX_THUMBNAIL_PIXELS" "32M"}}"
|
|
dynamic_thumbnails: {{getenv "DYNAMIC_THUMBNAILS" "True"}}
|
|
|
|
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
|
|
enable_registration_captcha: False
|
|
|
|
registration_shared_secret: "{{getenv "SHARED_SECRET"}}"
|
|
|
|
turn_uris: [{{getenv "TURN_URIS"}}]
|
|
turn_shared_secret: "{{getenv "TURN_SHARED_SECRET"}}"
|
|
turn_user_lifetime: {{getenv "TURN_USER_LIFETIME" "1h"}}
|
|
|
|
enable_registration: False
|
|
allow_guest_access: False
|
|
|
|
trusted_third_party_id_servers:
|
|
- matrix.org
|
|
- vector.im
|
|
|
|
enable_metrics: no
|
|
report_stats: {{getenv "REPORT_STATS" "no"}}
|
|
|
|
room_invite_state_types:
|
|
- "m.room.join_rules"
|
|
- "m.room.canonical_alias"
|
|
- "m.room.avatar"
|
|
- "m.room.name"
|
|
|
|
app_service_config_files: []
|
|
|
|
macaroon_secret_key: "{{getenv "MACAROON_SECRET_KEY"}}"
|
|
expire_access_token: False
|
|
|
|
signing_key_path: "/var/lib/matrix-synapse/signing/signing.key"
|
|
old_signing_keys: {}
|
|
|
|
key_refresh_interval: "1d" # 1 Day.
|
|
|
|
perspectives:
|
|
servers:
|
|
"matrix.org":
|
|
verify_keys:
|
|
"ed25519:auto":
|
|
key: "Noi6WqcDj0QmPxCNQqgezwTlBKrfqehY1u2FyWP9uYw"
|