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 turn_uris: - "turn:{{ matrix_container_name }}:{{ turn_listen_port }}?transport=udp" - "turn:{{ matrix_container_name }}:{{ turn_tls_port }}?transport=tcp" - "turns:{{ matrix_container_name }}:{{ turn_tls_port }}?transport=tcp" - "turns:{{ matrix_container_name }}:{{ turn_listen_port }}?transport=udp" turn_shared_secret: "{{ turn_secret }}" turn_user_lifetime: "1h" turn_allow_guests: "true" 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/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