Closed j-kk closed 2 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I think I'm facing the same issue. Bridged mode doesnt give external access at all. Firewall is disabled
Same issue. Host or Bridge, IP never shows up on the docker screen for the app. Does this need to be configured within the docker?
Same issue. Host or Bridge, IP never shows up on the docker screen for the app. Does this need to be configured within the docker?
Sorry for the tardy response. I managed to get it working by doing the following:
Under the Instance Edit, go to Port Settings and create a port and forward traffic to the port in the instance eg: Local Port: 8088, Container Port: 8581 (or whatever is in your config)
I appreciate your reply, but I think you might be thinking of something else. Within Unraid, the container already has a configuration.
Container Variable: HOMEBRIDGE_CONFIG_UI_PORT
But when the container is turned on, unraid doesn't show that it ever was assigned the IP and port. Every other contraire works except this one.
I suspect something is wrong in the packaging of this container for Unraid.
For others who are using macvlan, I am successfully running homebridge using macvlan
networking which provide a full MAC address and IP address to the container (the best way to do this IMO); everything is working, including the GUI. Below is what I'm doing (doing it directly in this case and not with compose, but compose would work too)
sudo docker network create -d macvlan --subnet 192.168.1.0/24 --gateway 192.168.1.1 -o parent=eth0 mynetworkname
- obviously replace the values with your appropriate subnet, gateway and network device.sudo docker run \
--detach \
--name=homebridge \
--restart=unless-stopped \
--net=mynetworkname \
--ip=192.168.1.9 \
-e TZ=America/New_York \
-e HOMEBRIDGE_CONFIG_UI=1 \
-e HOMEBRIDGE_CONFIG_UI_PORT=8581 \
-e PGID=996 \
-e PUID=996 \
-e DSM_HOSTNAME=homebridge \
--volume /mnt/dvr/homebridge:/homebridge \
oznu/homebridge:ubuntu
The GUI is now available at the IP address I assigned and the port I assigned.
(note: above I also create a homebridge service account 996:996, this has no impact on the networking.)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe Your Problem: There is no access to the Homebridge UI without network mode set to host, despite all other Homebridge features can be supplied with macvlan.
I've created a macvlan network, so "smart stuff" can recognize homebridge. However after I replaced the network mode host option with networks and port bindings, there is no access to the web UI. It is only accessible within bridged network from other containers. Any port bindings to the UI are ignored.
Logs:
Docker Start Command: Using docker-compose with multiple containers, stripped only to homebridge and networks setup.
Homebridge Config:
Environment: