Add additional changes for Dimension to work
This commit is contained in:
@ -12,7 +12,7 @@ homeserver:
|
||||
|
||||
# The URL that Dimension, go-neb, and other services provisioned by Dimension should
|
||||
# use to access the homeserver with.
|
||||
clientServerUrl: "https://{{ matrix_domain }}"
|
||||
clientServerUrl: "https://{{ matrix_server_fqn_matrix }}"
|
||||
|
||||
# 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
|
||||
|
@ -9,9 +9,12 @@ ExecStartPre=-/usr/bin/docker kill matrix-dimension
|
||||
ExecStartPre=-/usr/bin/docker rm matrix-dimension
|
||||
ExecStart=/usr/bin/docker run --rm --name matrix-dimension \
|
||||
--log-driver=none \
|
||||
--user={{ matrix_dimension_user_uid }}:{{ matrix_dimension_user_gid }} \
|
||||
--cap-drop=ALL \
|
||||
--network={{ matrix_docker_network }} \
|
||||
{% if matrix_dimension_container_expose_port %}
|
||||
-p 127.0.0.1:8184:8184 \
|
||||
{% endif %}
|
||||
-v {{ matrix_dimension_base_path }}:/data:rw \
|
||||
{{ matrix_dimension_docker_image }}
|
||||
ExecStop=-/usr/bin/docker kill matrix-dimension
|
||||
|
Reference in New Issue
Block a user