Homebridge and Mosquitto in Docker containers via
docker-compose
- Homebridge in a Docker container
- Mosquitto in a Docker container, with:
- Self-signed TLS at port
8883
- Required MQTT username/password at ports
1883
and8883
- Self-signed TLS at port
git clone https://github.com/thegreatsunra/homebridge-mosquitto-docker.git
cd homebridge-mosquitto-docker
Assuming you have Docker installed...
-
Copy
./mosquitto/example.env
to./mosquitto/.env
and update the variable values it contains as suits your purposes. -
From the project root, run the whole thing:
docker-compose -p homebridge up -d
MIT