2021-06-16 07:00:43 +01:00
|
|
|
---
|
|
|
|
version: "3"
|
|
|
|
services:
|
|
|
|
xiaomi2mqtt:
|
|
|
|
image: xiaomi2mqtt:latest
|
|
|
|
container_name: xiaomi2mqtt
|
|
|
|
user: root:root
|
|
|
|
environment:
|
|
|
|
- TZ=Europe/London
|
2022-12-18 10:33:33 +00:00
|
|
|
- MQTT_HOST=mqtt.home.arpa
|
2021-06-16 07:00:43 +01:00
|
|
|
devices:
|
|
|
|
- /dev/bus/usb
|
|
|
|
network_mode: host
|
|
|
|
cap_add:
|
|
|
|
- SYS_ADMIN
|
|
|
|
- CAP_SYSLOG
|
|
|
|
- NET_ADMIN
|
|
|
|
restart: unless-stopped
|