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 oidc_providers: - idp_id: authentik idp_name: Comfy Camp discover: true issuer: "https://auth.comfycamp.space/application/o/matrix/" client_id: 3rORMEeMNLRnaRPssq7s28uerXTna2hZ2Z2TdClp client_secret: "{{ openid_client_secret }}" scopes: ["openid", "profile", "email"] user_mapping_provider: config: localpart_template: "{{ '{{' }} user.preferred_username {{ '}}' }}" display_name_template: "{{ '{{' }} user.name|capitalize {{ '}}' }}"