62 lines
1.5 KiB
Django/Jinja
62 lines
1.5 KiB
Django/Jinja
server_name: "{{ matrix_domain1 }}"
|
|
pid_file: /data/homeserver.pid
|
|
listeners:
|
|
- port: {{ synapse_http_port }}
|
|
resources:
|
|
- compress: true
|
|
names:
|
|
- client
|
|
- federation
|
|
tls: false
|
|
type: http
|
|
x_forwarded: true
|
|
|
|
room_list_publication_rules:
|
|
- user_id: "*"
|
|
alias: "*"
|
|
room_id: "*"
|
|
action: allow
|
|
|
|
turn_uris:
|
|
- "turn:{{ turn_domain }}:{{ turn_listen_port }}?transport=udp"
|
|
- "turn:{{ turn_domain }}:{{ turn_tls_port }}?transport=tcp"
|
|
- "turns:{{ turn_domain }}:{{ turn_tls_port }}?transport=tcp"
|
|
- "turns:{{ turn_domain }}:{{ turn_listen_port }}?transport=udp"
|
|
|
|
turn_shared_secret: "{{ turn_secret }}"
|
|
turn_user_lifetime: "1h"
|
|
turn_allow_guests: "true"
|
|
|
|
enable_registration: true
|
|
registration_requires_token: true
|
|
|
|
|
|
federation_domain_whitelist: []
|
|
auto_join_rooms:
|
|
- "#star-citizen:matrix.fpov.space"
|
|
- "#welcome:matrix.fpov.space"
|
|
|
|
max_upload_size: 200M
|
|
|
|
media_store_path: /data/media_store
|
|
log_config: "/data/matrix.fpov.space.log.config"
|
|
registration_shared_secret: "{{ registration_shared_secret }}"
|
|
report_stats: false
|
|
macaroon_secret_key: "{{ macaroon_secret_key }}"
|
|
form_secret: "{{ form_secret }}"
|
|
disable_signing_key: "true"
|
|
#signing_key_path: "/data/matrix.fpov.space.signing.key"
|
|
trusted_key_servers:
|
|
- server_name: "{{ matrix_domain1 }}"
|
|
|
|
database:
|
|
name: psycopg2
|
|
allow_unsafe_locale: true
|
|
args:
|
|
user: "{{ postgres_user }}"
|
|
password: "{{ postgres_pw }}"
|
|
database: "{{ postgres_db }}"
|
|
host: synapse-db
|
|
port: 5432
|
|
cp_min: 5
|
|
cp_max: 10 |