mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-22 12:35:51 +00:00
Use container network address for communication between IRC bridge and homeserver
This means we need to explicitly specify a `media_url` now, because without it, `url` would be used for building public URLs to files/images. That doesn't work when `url` is not a public URL.
This commit is contained in:
parent
9b97a42ffb
commit
6b023d09d4
@ -8,6 +8,10 @@ matrix_appservice_irc_docker_image_force_pull: "{{ matrix_appservice_irc_docker_
|
|||||||
|
|
||||||
matrix_appservice_irc_base_path: "{{ matrix_base_data_path }}/appservice-irc"
|
matrix_appservice_irc_base_path: "{{ matrix_base_data_path }}/appservice-irc"
|
||||||
|
|
||||||
|
matrix_appservice_irc_homeserver_url: 'http://matrix-synapse:8008'
|
||||||
|
matrix_appservice_irc_homeserver_media_url: 'https://{{ matrix_server_fqn_matrix }}'
|
||||||
|
matrix_appservice_irc_homeserver_domain: '{{ matrix_domain }}'
|
||||||
|
|
||||||
# Controls whether the matrix-appservice-discord container exposes its HTTP port (tcp/9999 in the container).
|
# Controls whether the matrix-appservice-discord container exposes its HTTP port (tcp/9999 in the container).
|
||||||
#
|
#
|
||||||
# Takes an "<ip>:<port>" or "<port>" value (e.g. "127.0.0.1:9999"), or empty string to not expose.
|
# Takes an "<ip>:<port>" or "<port>" value (e.g. "127.0.0.1:9999"), or empty string to not expose.
|
||||||
@ -25,8 +29,9 @@ matrix_appservice_irc_systemd_wanted_services_list: []
|
|||||||
matrix_appservice_irc_configuration_yaml: |
|
matrix_appservice_irc_configuration_yaml: |
|
||||||
#jinja2: lstrip_blocks: True
|
#jinja2: lstrip_blocks: True
|
||||||
homeserver:
|
homeserver:
|
||||||
url: "https://{{ matrix_server_fqn_matrix }}"
|
url: {{ matrix_appservice_irc_homeserver_url }}
|
||||||
domain: "{{ matrix_domain }}"
|
media_url: {{ matrix_appservice_irc_homeserver_media_url }}
|
||||||
|
domain: {{ matrix_appservice_irc_homeserver_domain }}
|
||||||
enablePresence: true
|
enablePresence: true
|
||||||
|
|
||||||
matrix_appservice_irc_configuration_extension_yaml: |
|
matrix_appservice_irc_configuration_extension_yaml: |
|
||||||
|
Loading…
Reference in New Issue
Block a user