Files
fpov/templates/homeserver.yaml.j2
2026-03-19 23:09:55 -06:00

31 lines
1.1 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 }}"
listeners:
- port: {{ synapse_http_port }}
bind_addresses: ['0.0.0.0']
type: http
tls: false
x_forwarded: true
resources:
- names: [client, federation]
compress: 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)
# -----------------------------------------------------------------
# NEW – Google OIDC provider
# -----------------------------------------------------------------
oidc_providers:
- idp_id: google
issuer: "https://accounts.google.com"
client_id: "{{ google_oidc_client_id }}"
client_secret: "{{ google_oidc_client_secret }}"
scopes: {{ google_oidc_scopes | to_nice_yaml | indent(6) }}