From 04878036dbef57f8507a13be177f88657e82ee11 Mon Sep 17 00:00:00 2001 From: Benjamin Stolz Date: Fri, 23 Jan 2026 14:44:31 +0100 Subject: [PATCH] add matter containers to home assistant --- smart-home/docker-compose.override.yml | 6 ++++ smart-home/docker-compose.yml | 48 +++++++++++++++++++++++++- 2 files changed, 53 insertions(+), 1 deletion(-) diff --git a/smart-home/docker-compose.override.yml b/smart-home/docker-compose.override.yml index 2373610..d880329 100644 --- a/smart-home/docker-compose.override.yml +++ b/smart-home/docker-compose.override.yml @@ -5,3 +5,9 @@ services: net.unraid.docker.icon: 'https://cdn.jsdelivr.net/gh/selfhst/icons@main/png/home-assistant.png' net.unraid.docker.webui: 'https://home-assistant.homecube.org' net.unraid.docker.shell: '' + matter-server: + labels: + net.unraid.docker.managed: 'composeman' + net.unraid.docker.icon: 'https://cdn.jsdelivr.net/gh/selfhst/icons@main/png/home-assistant.png' + net.unraid.docker.webui: '' + net.unraid.docker.shell: '' diff --git a/smart-home/docker-compose.yml b/smart-home/docker-compose.yml index 75e42f3..6ad7685 100644 --- a/smart-home/docker-compose.yml +++ b/smart-home/docker-compose.yml @@ -1,6 +1,6 @@ services: home-assistant: - image: "ghcr.io/home-assistant/home-assistant:stable" + image: ghcr.io/home-assistant/home-assistant:stable container_name: home-assistant privileged: true network_mode: host @@ -13,3 +13,49 @@ services: net.unraid.docker.icon: "https://cdn.jsdelivr.net/gh/selfhst/icons@main/png/home-assistant.png" net.unraid.docker.webui: "https://home-assistant.homecube.org" folder.view2: "Services" + +# hass_otbr: +# container_name: hass_otbr +# privileged: true +# image: ghcr.io/ownbee/hass-otbr-docker +# restart: unless-stopped +# network_mode: host +# cap_add: +# - SYS_ADMIN +# - NET_ADMIN +# environment: +# DEVICE: "/dev/ttyUSB1" +# BACKBONE_IF: br0 +# FLOW_CONTROL: 0 +# FIREWALL: 1 +# NAT64: 1 +# BAUDRATE: 460800 +# OTBR_REST_PORT: 8061 +# OTBR_WEB_PORT: 8060 +# AUTOFLASH_FIRMWARE: 0 +# devices: +# - source: /dev/serial/by-id/usb-Espressif_USB_JTAG_serial_debug_unit_98:A3:16:8E:32:C0-if00 +# target: /dev/ttyUSB1 +# permissions: rwm +# volumes: +# - /mnt/user/appdata/hass_otbr:/var/lib/thread +# labels: +# folder.view2: "Services" + + matter-server: + image: ghcr.io/matter-js/python-matter-server:stable + restart: unless-stopped + container_name: matter-server + # Required for mDNS to work correctly + network_mode: host + security_opt: + # Needed for Bluetooth via dbus + - apparmor:unconfined + volumes: + # Create an .env file that sets the USERDIR environment variable. + - /mnt/user/appdata/matter-server/data:/data/ + # Required for Bluetooth via D-Bus + - /run/dbus:/run/dbus:ro + labels: + net.unraid.docker.icon: "https://raw.githubusercontent.com/homarr-labs/dashboard-icons/refs/heads/main/png/matter.png" + folder.view2: "Services"