-
-
Notifications
You must be signed in to change notification settings - Fork 242
Homebridge on QNAP
Install Container Station from App Center. Open the app and create the Docker storage directory as the default, /Container
.
Open File Station and create a new directory named homebridge
under /Container
.
In Container Station, go to the Create tab and search for homebridge
and click Install next to homebridge/homebridge
.
If you are using Container Station 3 (2023 or later), you will see a blue "explore" button at the top that you need to use instead. Be sure to select DEPLOY
button for homebridge/homebridge
and not the old onzu/homebridge
package!
Name the container homebridge
then click the Advanced Settings button:
These environment variables should be configured. See Parameters for details on what these environment variables do.
If you are using Container Station 3 (2023 or later), ensure you click "add" 3 times to add the below variables. There are a lot of existing variables you do not need to edit.
HOMEBRIDGE_CONFIG_UI=1
HOMEBRIDGE_CONFIG_UI_PORT=8581
TZ=Australia/Canberra
Setting the Network Mode to Host
is required for Homebridge to work. If you are using Container Station 3 (2023 or later), you will still find this under the networks tab, but you need to click the "CUSTOM" radio button in order to select "host."
Under the Volume From Host section create the following mount:
- Volume From Host:
/Container/homebridge
- Mount Point:
/homebridge
If you are using Container Station 3 (2023 or later), delete the mount point that is auto populated. Instead, select the dropdown next to "add volume" and select Bind Mount Host Path
. There, select the folder in the top one, and the "container" should utilize the mount point text /homebridge
. Ensure "RW" is selected.
The "Mount Point" must always be /homebridge
. If you have multiple Homebridge instances, modify the "Volume from Host" side for each container, but keep the "Mount Point" as /homebridge
.
Confirm the settings you selected are correct then click OK to create the container.
Wait for image to download and the container to be created:
Click the Containers tab to view the running Homebridge container.
To manage homebridge go to http://<ip of your nas>:8581
.