MQTT integration for Ubiquiti UniFi controller
version: '3'
services:
unifi:
image: 2mqtt/unifi:0.0.6
restart: always
environment:
- MQTT_ID=unifi
- MQTT_PATH=unifi
- MQTT_HOST=mqtt://<ip address of mqtt broker>
- MQTT_USERNAME=<mqtt username>
- MQTT_PASSWORD=<mqtt password>
- UNIFI_HOST=<ip address of unifi controller>
- UNIFI_USERNAME=<unifi username>
- UNIFI_PASSWORD=<unifi password>