Jakub Sokołowski e1a1908898
consul: remove separate API service definition
Used to be necessary for `chat2bridge` which is gone now.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-03-14 12:36:57 +01:00

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 }}'