|
|
|
@@ -25,11 +25,14 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-mautrix-wsprox |
|
|
|
--cap-drop=ALL \ |
|
|
|
--network={{ matrix_docker_network }} \ |
|
|
|
-v {{ matrix_mautrix_wsproxy_config_path }}:/config:z \ |
|
|
|
-v {{ matrix_mautrix_wsproxy_data_path }}:/data:z \ |
|
|
|
-e AS_TOKEN='{{ matrix_mautrix_wsproxy_appservice_token }}' \ |
|
|
|
-e HS_TOKEN='{{ matrix_mautrix_wsproxy_homeserver_token }}' \ |
|
|
|
{% for arg in matrix_mautrix_wsproxy_container_extra_arguments %} |
|
|
|
{{ arg }} \ |
|
|
|
{% endfor %} |
|
|
|
{{ matrix_mautrix_wsproxy_docker_image }} \ |
|
|
|
/usr/bin/mautrix-wsproxy -c /config/config.yaml -r /config/registration.yaml |
|
|
|
/usr/bin/mautrix-wsproxy -config /config/config.yaml |
|
|
|
|
|
|
|
ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-mautrix-wsproxy 2>/dev/null' |
|
|
|
ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-mautrix-wsproxy 2>/dev/null' |
|
|
|
|