version: "3.7" services: server: image: ghcr.io/matter-js/python-matter-server:8.1.1@sha256:44d47c9ec91bf06fcb72a8df2dd2f36e90934c7b0d1d85f1ecb46fc695164746 restart: on-failure # Required for mDNS to work correctly network_mode: host # UI at default port 5580 security_opt: # Needed for Bluetooth via dbus - apparmor:unconfined volumes: - ${APP_DATA_DIR}/data:/data/ # Required for Bluetooth via D-Bus - /run/dbus:/run/dbus:ro