Add option to enable Dimension widgets serve sites with self signed certs
This commit is contained in:
parent
1974935bc6
commit
610eef82b5
@ -7,6 +7,9 @@ matrix_dimension_access_token: ""
|
||||
# Users in form: ['@user1:domain.com', '@user2:domain.com']
|
||||
matrix_dimension_admins: []
|
||||
|
||||
# Whether to allow Dimension widgets serve websites with invalid or self signed SSL certificates
|
||||
matrix_dimension_widgets_allow_self_signed_ssl_certificates: false
|
||||
|
||||
matrix_dimension_base_path: "{{ matrix_base_data_path }}/dimension"
|
||||
|
||||
matrix_dimension_docker_image: "turt2live/matrix-dimension:latest"
|
||||
|
@ -12,6 +12,9 @@ ExecStart=/usr/bin/docker run --rm --name matrix-dimension \
|
||||
--user={{ matrix_dimension_user_uid }}:{{ matrix_dimension_user_gid }} \
|
||||
--cap-drop=ALL \
|
||||
--network={{ matrix_docker_network }} \
|
||||
{% if matrix_dimension_widgets_allow_self_signed_ssl_certificates %}
|
||||
-e NODE_TLS_REJECT_UNAUTHORIZED=0 \
|
||||
{% endif %}
|
||||
{% if matrix_dimension_container_expose_port %}
|
||||
-p 127.0.0.1:8184:8184 \
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user