xiaomi2mqtt/docker-compose.yaml

19 lines
352 B
YAML

---
version: "3"
services:
xiaomi2mqtt:
image: xiaomi2mqtt:latest
container_name: xiaomi2mqtt
user: root:root
environment:
- TZ=Europe/London
- MQTT_HOST=mqtt.home.arpa
devices:
- /dev/bus/usb
network_mode: host
cap_add:
- SYS_ADMIN
- CAP_SYSLOG
- NET_ADMIN
restart: unless-stopped