Просмотр исходного кода

Make Dimension communicat to Synapse through Docker network

Media is pulled from client side, so we specify external Matrix DNS name as mediaUrl
pull/134/head
NullIsNot0 6 лет назад
committed by GitHub
Родитель
Сommit
596f2ec1e2
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: 4AEE18F83AFDEB23
1 измененных файлов: 2 добавлений и 2 удалений
  1. +2
    -2
      roles/matrix-dimension/defaults/main.yml

+ 2
- 2
roles/matrix-dimension/defaults/main.yml Просмотреть файл

@@ -45,7 +45,7 @@ matrix_dimension_configuration_yaml: |


# The URL that Dimension, go-neb, and other services provisioned by Dimension should # The URL that Dimension, go-neb, and other services provisioned by Dimension should
# use to access the homeserver with. # use to access the homeserver with.
clientServerUrl: "https://{{ matrix_server_fqn_matrix }}"
clientServerUrl: "http://matrix-synapse:8008"


# The URL that Dimension should use when trying to communicate with federated APIs on # 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 # the homeserver. If not supplied or left empty Dimension will try to resolve the address
@@ -54,7 +54,7 @@ matrix_dimension_configuration_yaml: |


# The URL that Dimension will redirect media requests to for downloading media such as # 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. # stickers. If not supplied or left empty Dimension will use the clientServerUrl.
#mediaUrl: "https://t2bot.io"
mediaUrl: "https://{{ matrix_server_fqn_matrix }}"


# The access token Dimension should use for miscellaneous access to the homeserver. This # 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 # should be for a user on the configured homeserver: any user will do, however it is


Загрузка…
Отмена
Сохранить