From 596f2ec1e24e1bee4e4be76ee637640107d1b064 Mon Sep 17 00:00:00 2001 From: NullIsNot0 Date: Sun, 14 Apr 2019 16:09:29 +0300 Subject: [PATCH] Make Dimension communicat to Synapse through Docker network Media is pulled from client side, so we specify external Matrix DNS name as mediaUrl --- roles/matrix-dimension/defaults/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/matrix-dimension/defaults/main.yml b/roles/matrix-dimension/defaults/main.yml index ee1b18a0..43841fee 100644 --- a/roles/matrix-dimension/defaults/main.yml +++ b/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 # 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 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 # 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 # should be for a user on the configured homeserver: any user will do, however it is