homelab/roles/synapse/templates/synapse.yaml.j2

27 lines
757 B
Django/Jinja

server_name: "matrix.comfycamp.space"
listeners:
- port: 8008
tls: false
type: http
x_forwarded: true
resources:
- names: [client, federation]
compress: false
database:
name: psycopg2
args:
user: matrix-synapse
password: "{{ postgresql_password }}"
dbname: matrix-synapse
host: postgresql
cp_max: 10
media_store_path: /data/media_store
signing_key_path: /data/matrix.comfycamp.space.signing.key
log_config: /etc/synapse/log.config
report_stats: true
trusted_key_servers:
- server_name: "matrix.org"
turn_uris: [ "turn:turn.comfycamp.space?transport=udp", "turn:turn.comfycamp.space?transport=tcp" ]
turn_shared_secret: "{{ turn_shared_secret }}"
turn_user_lifetime: 86400000
turn_allow_guests: true