-
Christian Elberfeld authoredChristian Elberfeld authored
homeserver.yaml 3.03 KiB
server_name: "{{ matrix.domain }}"
pid_file: /tmp/homeserver.pid
public_baseurl: "{{ matrix.public_url }}/"
use_presence: false
allow_public_rooms_without_auth: false
allow_public_rooms_over_federation: true
forget_rooms_on_leave: true
macaroon_secret_key: "{{ matrix_macaroon_secret_key }}"
registration_shared_secret: "{{ matrix_registration_shared_secret }}"
form_secret: "{{ matrix_form_secret}}"
listeners:
- port: 8448
tls: false
type: http
x_forwarded: true
resources:
- names: [client, federation]
- port: 8008
tls: false
type: http
x_forwarded: true
resources:
- names: [client, federation]
compress: false
admin_contact: 'mailto:verwaltung@warpzone.ms'
retention:
enabled: true
database:
name: "psycopg2"
args:
user: synapse
password: "{{ postgres_user_pass }}"
database: synapse
host: db
cp_min: 5
cp_max: 10
log_config: "/data/homeserver.log.config"
media_store_path: "/data/media_store"
max_upload_size: 10M
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: true
url_preview_ip_range_blacklist:
- '127.0.0.0/8'
- '10.0.0.0/8'
- '172.16.0.0/12'