Add native Traefik support to Dimension

This commit is contained in:
Slavi Pantaleev
2023-02-26 23:06:36 +02:00
parent b84f25309b
commit 058a54fd05
10 changed files with 275 additions and 40 deletions

View File

@ -9,30 +9,30 @@ web:
homeserver:
# The domain name of the homeserver. This is used in many places, such as with go-neb
# setups, to identify the homeserver.
name: "{{ matrix_domain }}"
name: {{ matrix_domain | to_json }}
# The URL that Dimension, go-neb, and other services provisioned by Dimension should
# use to access the homeserver with.
clientServerUrl: "{{ matrix_homeserver_container_url }}"
clientServerUrl: {{ matrix_dimension_homeserver_clientServerUrl | to_json }}
# The URL that Dimension should use when trying to communicate with federated APIs on
# the homeserver. If not supplied or left empty Dimension will try to resolve the address
# through the normal federation process.
federationUrl: "{{ matrix_dimension_homeserver_federationUrl }}"
federationUrl: {{ matrix_dimension_homeserver_federationUrl | to_json }}
# The URL that Dimension will redirect media requests to for downloading media such as
# stickers. If not supplied or left empty Dimension will use the clientServerUrl.
mediaUrl: "https://{{ matrix_server_fqn_matrix }}"
mediaUrl: {{ matrix_dimension_homeserver_mediaUrl | to_json }}
# The access token Dimension should use for miscellaneous access to the homeserver. This
# should be for a user on the configured homeserver: any user will do, however it is
# recommended to use a dedicated user (such as @dimension:t2bot.io). For information on
# how to acquire an access token, visit https://t2bot.io/docs/access_tokens
accessToken: "{{ matrix_dimension_access_token }}"
accessToken: {{ matrix_dimension_access_token | to_json }}
# These users can modify the integrations this Dimension supports.
# To access the admin interface, open Dimension in Element and click the settings icon.
admins: {{ matrix_dimension_admins|to_json }}
admins: {{ matrix_dimension_admins | to_json }}
# IPs and CIDR ranges listed here will be blocked from being widgets.
# Note: Widgets may still be embedded with restricted content, although not through Dimension directly.
@ -72,4 +72,4 @@ goneb:
dimension:
# This is where Dimension is accessible from clients. Be sure to set this
# to your own Dimension instance.
publicUrl: "https://{{ matrix_server_fqn_dimension }}"
publicUrl: {{ matrix_dimension_dimension_publicUrl | to_json }}