add(mdns-repeater): new app (#3804)

* add(mdns-repeater): new app

* fix(mdns): ci errors

* fix(mdns): ci error
This commit is contained in:
JigSaw 2024-06-16 23:49:24 +02:00 committed by GitHub
parent 6978eb1b24
commit e358c4bd2a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 65 additions and 0 deletions

View File

@ -4,6 +4,8 @@ Open source home automation that puts local control and privacy first. Powered b
Check out [home-assistant.io](https://home-assistant.io) for a [demo](https://home-assistant.io/demo/), installation [instructions](https://home-assistant.io/getting-started/), [tutorials](https://home-assistant.io/getting-started/automation/) and [documentation](https://home-assistant.io/docs/)
**HomeKit Support in Docker:** Use MDNS app ! (And follow https://community.home-assistant.io/t/using-homekit-component-inside-docker/45409/41)
## Migration
February 2024

View File

@ -0,0 +1,39 @@
{
"$schema": "../schema.json",
"name": "MDNS Repeater",
"available": true,
"exposable": false,
"no_gui": true,
"port": 9998,
"id": "mdns-repeater",
"tipi_version": 1,
"version": "latest",
"categories": [
"utilities",
"automation"
],
"author": "angelnu",
"description": "This program re-broadcast mDNS packets from one interface to other interfaces.",
"short_desc": "Re-broadcast mDNS packets.",
"source": "https://github.com/angelnu/docker-mdns_repeater",
"form_fields": [
{
"type": "text",
"label": "MDNS > hostNIC (FROM network)",
"required": true,
"placeholder": "eth0",
"env_variable": "MDNS_HOST_NIC"
},
{
"type": "text",
"label": "MDNS > dockerNIC (TO network)",
"required": true,
"placeholder": "br-5813ba86106f",
"env_variable": "MDNS_DOCKER_NIC"
}
],
"supported_architectures": [
"arm64",
"amd64"
]
}

View File

@ -0,0 +1,14 @@
services:
mdns-repeater:
image: angelnu/mdns_repeater:latest
container_name: mdns-repeater
restart: unless-stopped
network_mode: host
environment:
- hostNIC=${MDNS_HOST_NIC}
- dockerNIC=${MDNS_DOCKER_NIC}
networks:
- tipi_main_network
labels:
# Main
traefik.enable: false

View File

@ -0,0 +1,10 @@
# Multicast DNS Repeater
Allow docker containers in virtual networks to send/receive mdns broadcast messages
More at: https://iotespresso.com/a-beginners-guide-to-mdns-and-dns-sd/
## HomeKit support for Home Assistant
Add a container that repeats mDNS traffic from one network interface to another network interface
Cf. https://community.home-assistant.io/t/using-homekit-component-inside-docker/45409/41

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 KiB