mirror of
https://github.com/status-im/infra-role-matterbridge.git
synced 2025-02-17 01:06:32 +00:00
config: enable API by adding a dummy gateway
Otherwise MatterBridge never listens on the API port. Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
98a91cd311
commit
c0f4a30e3c
@ -23,7 +23,16 @@ api.api:
|
|||||||
# These are auto generated by Ansible #
|
# These are auto generated by Ansible #
|
||||||
#######################################
|
#######################################
|
||||||
|
|
||||||
|
|
||||||
gateway:
|
gateway:
|
||||||
|
{% if matterbridge_api_enabled %}
|
||||||
|
- name: "api"
|
||||||
|
enable: true
|
||||||
|
inout:
|
||||||
|
- account: "api.api"
|
||||||
|
channel: "api"
|
||||||
|
|
||||||
|
{% endif %}
|
||||||
{% for gtw in matterbridge_gateways %}
|
{% for gtw in matterbridge_gateways %}
|
||||||
- name: "{{ gtw.status | default('bridge#'+(loop.index|string)) | mandatory }}"
|
- name: "{{ gtw.status | default('bridge#'+(loop.index|string)) | mandatory }}"
|
||||||
enable: "true"
|
enable: "true"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user