Page 1 of 1

Homebridge on Asustor over Docker?

Posted: Sat Aug 05, 2017 5:58 pm
by slemy
Hello ,
How can I run Homebridge on Asustor over Docker?
Find no manual how to use Docker on Asustor or how to configure it.

Here an example how it works on synology
h**p://jensbouma.nl/blog/homebridge-in-a-docker-container-on-the-synology-diskstation-guide/

Re: Homebridge on Asustor over Docker?

Posted: Sun Jun 10, 2018 4:18 am
by BasPost
Digging up an old topic, but I would like to know also!

Re: Homebridge on Asustor over Docker?

Posted: Mon Jun 29, 2020 10:36 pm
by Jagstyles
Add me to the list of those interested. Anyone find a way to accomplish this? I have Docker installed on my Asustor NAS.

Re: Homebridge on Asustor over Docker?

Posted: Wed Jul 01, 2020 5:03 am
by Nazar78
Run:

Code: Select all

docker pull oznu/homebridge
Then run:

Code: Select all

docker run \
  --net=host \
  --name=homebridge \
  -e PUID=<UID> -e PGID=<GID> \
  -e TZ=<timezone> \
  -e HOMEBRIDGE_CONFIG_UI=1 \
  -e HOMEBRIDGE_CONFIG_UI_PORT=8080 \
  -v </path/to/config>:/homebridge \
  oznu/homebridge
Substitute:
<UID> and <GID> with 999 (admin,administrators).

<timezone> with your TZ i.e. curl https://ipapi.co/timezone

</path/to/config> with /share/Docker/homebridge

See here for more details https://hub.docker.com/r/oznu/homebridge/

Access should be via: http://your_nas_ip:8080

Re: Homebridge on Asustor over Docker?

Posted: Tue Mar 02, 2021 8:31 am
by Jagstyles
Nazar78 wrote:Run:

Code: Select all

docker pull oznu/homebridge
Then run:

Code: Select all

docker run \
  --net=host \
  --name=homebridge \
  -e PUID=<UID> -e PGID=<GID> \
  -e TZ=<timezone> \
  -e HOMEBRIDGE_CONFIG_UI=1 \
  -e HOMEBRIDGE_CONFIG_UI_PORT=8080 \
  -v </path/to/config>:/homebridge \
  oznu/homebridge
Substitute:
<UID> and <GID> with 999 (admin,administrators).

<timezone> with your TZ i.e. curl https://ipapi.co/timezone

</path/to/config> with /share/Docker/homebridge

See here for more details https://hub.docker.com/r/oznu/homebridge/

Access should be via: http://your_nas_ip:8080
This is great. Got it installed but then after changing the admin password on Homebridge to something stronger besides "admin", I could no longer get that URL to work. Tried rebooting the NAS but still not able to access it. Not sure if it's a coincidence? Also, does the NAS' admin user account need to remain enabled for this to work?

Lastly, do I need to insert a command line somewhere on the NAS so that it loads up the docker each time I boot up the NAS or is this done anyways since I have Docker App enabled?