xiaomi2mqtt/docker-compose.yaml
2021-06-16 15:38:59 +01:00

19 lines
346 B
YAML

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