Tutorial: add Homebridge to Hass.io using Portainer

Go to “Supervisor” in HA -> Install “Portainer”.
In Portainer-AddOn-Config “Disable Protection Mode”.
In Portainer WEB UI go to Stacks -> Add Stacks -> name stack: HomebridgeXYZ.
Cpy following into the docker-cpompose field:

version: '2'
services:
  homebridge:
    image: oznu/homebridge:latest
    restart: always
    network_mode: host
    environment:
      - PGID=0
      - PUID=0
      - HOMEBRIDGE_CONFIG_UI=1
      - HOMEBRIDGE_CONFIG_UI_PORT=8581
    volumes:
      - /mnt/data/supervisor/homeassistant/homebridge:/homebridge

-> Deploy the Stack

If you would update to the latest version of oznu/homebridge:

  • Portainer -> container -> homebridge -> recreate
  • Check Pull latest Image
  • go to images and delete the unused Image of homebrdge
  • enjoy!
17 Likes