add matter containers to home assistant

This commit is contained in:
2026-01-23 14:44:31 +01:00
parent 0becfa5877
commit 04878036db
2 changed files with 53 additions and 1 deletions

View File

@@ -5,3 +5,9 @@ services:
net.unraid.docker.icon: 'https://cdn.jsdelivr.net/gh/selfhst/icons@main/png/home-assistant.png' 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.webui: 'https://home-assistant.homecube.org'
net.unraid.docker.shell: '' 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: ''

View File

@@ -1,6 +1,6 @@
services: services:
home-assistant: home-assistant:
image: "ghcr.io/home-assistant/home-assistant:stable" image: ghcr.io/home-assistant/home-assistant:stable
container_name: home-assistant container_name: home-assistant
privileged: true privileged: true
network_mode: host 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.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.webui: "https://home-assistant.homecube.org"
folder.view2: "Services" 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"