Files
fpov/templates/homeserver.yaml.j2

42 lines
1.3 KiB
Django/Jinja
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
server_name: "{{ matrix_domain }}"
pid_file: /data/homeserver.pid
listeners:
- port: {{ synapse_http_port }}
bind_addresses: ['0.0.0.0']
resources:
- compress: true
names:
- client
- federation
tls: false
type: http
x_forwarded: true
# -------------------------------------------------
# TURN (WebRTC) – injected from the variables above
# -------------------------------------------------
turn_uris:
- "turn:{{ matrix_domain }}:{{ turn_listen_port }}?transport=udp"
- "turn:{{ matrix_domain }}:{{ turn_tls_port }}?transport=tcp"
- "turns:{{ matrix_domain }}:{{ turn_tls_port }}?transport=tcp"
turn_shared_secret: "{{ turn_secret }}"
turn_user_lifetime: "86400000" # 1 day in ms (optional)
# -----------------------------------------------------------------
# Database provider
#------------------------------------------------------------------
database:
name: sqlite3
args:
database: /data/homeserver.db
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 }}"
signing_key_path: "/data/my.matrix.host.signing.key"
trusted_key_servers:
- server_name: "{{ matrix_domain }}"