mirror of
https://github.com/status-im/infra-role-matterbridge.git
synced 2025-02-22 03:28:13 +00:00
Used to be necessary for `chat2bridge` which is gone now. Signed-off-by: Jakub Sokołowski <jakub@status.im>
15 lines
515 B
YAML
15 lines
515 B
YAML
---
|
|
- name: Create Consul service definition
|
|
include_role: name=infra-role-consul-service
|
|
vars:
|
|
consul_config_name: '{{ matterbridge_service_name }}'
|
|
consul_services:
|
|
- id: '{{ matterbridge_service_name }}'
|
|
name: '{{ matterbridge_service_name }}'
|
|
tags: ['matterbridge', 'bridge']
|
|
checks:
|
|
- id: '{{ matterbridge_service_name }}-health'
|
|
name: 'MatterBridge API health'
|
|
type: 'tcp'
|
|
tcp: '0.0.0.0:{{ matterbridge_api_port }}'
|