I am trying to make homebridge communicate with my node-red container integrated into Gladys, but node-red cannot discover the devices that are in homebridge.
The node-red container needs to be started with network=host mode but it seems to be started in bridge mode.
On my side I think I will use Node-RED on another machine, but for people using Node-RED directly integrated into Gladys, I think it would be good to have this configuration?
For me, it’s mainly the following 2 lines that are important:
ports:
- "127.0.0.1:1880:1880"
network_mode: host
The 127.0.0.1:1880:1880 entry isolates the container from the outside because I access it from a bastion in app mode (Teleport) and I don’t need to access it from elsewhere
The most important thing is network_mode: host which allows Homebridge to work in my case.