[request] HomeBridge

Hi! HomeBridge is a great service that I think would make an excellent addition to Linuxserver’s container repertoire.

The project’s GitHub can be found github[dot]com/homebridge/homebridge .

For most users, the Docker Compose that is provided in the installation instructions should be sufficient, although I had to specify the port used:

version: "2"
services:
  homebridge:
    image: oznu/homebridge:ubuntu
    container_name: homebridge
    restart: always
    environment:
      - TZ=${TZ}
      - PGID=${PUID}
      - PUID=${PGID}
      - HOMEBRIDGE_CONFIG_UI=1
      - HOMEBRIDGE_CONFIG_UI_PORT=8080
    ports:
      - 8080:8080
    volumes:
      - ${USERDIR}/docker/homebridge:/homebridge

Note: Not sure about the other containers, but the Ubuntu version runs Avahi in the container. If the host system is already running Avahi for another service (perhaps for TimeMachine backups over smb), HomeBridge will not be discoverable on their network. They’ll need to set their version to image: oznu/homebridge:ubuntu-no-avahi, and create another service file for Homebridge. There is a script here that will generate the service file automatically.

Not sure why it wouldn’t let me add the link for the GitHub repo; it should have been only 2 links in the post in accordance with the rules for new users.
Link is here: https://github.com/homebridge/homebridge
The docker image and compose I used are here: https://github.com/oznu/docker-homebridge