Make Dimension communicat to Synapse through Docker network

Media is pulled from client side, so we specify external Matrix DNS name as mediaUrl
This commit is contained in:
NullIsNot0 2019-04-14 16:09:29 +03:00 committed by GitHub
parent 382e53bdee
commit 596f2ec1e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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