TheSquigglyline Posted April 2, 2021 Share Posted April 2, 2021 Greetings, I have two custom docker networks. One is the normal br0 network and the other is one setup for reverse proxy called proxynet. Proxynet is setup following SpaceInvaderOne's videos about reverse proxy. So I have my home assistant docker running on the reverse proxy so that I can access my dashboard from out of my home network. But i have my Ubiquiti Unifi docker on by Br0 network because i want it to have its own IP, I don't want it exposed to the web, and so that it can operate correctly by finding my APs. So I went to integrate home assistant and the ubiquiti controller but i can't because the Home assistant docker cannot communicate with the ubiquiti controller docker. Can someone give me some help understanding the problem in greater detail and some possible solutions. Networking is not my strong suite and but i'm leaning. Thanks in advance! Quote Link to comment
primeval_god Posted April 5, 2021 Share Posted April 5, 2021 A docker container can be connected to multiple docker networks, just not if i remember correctly anywhere in the unRAID web interface. You would use the command docker network connect from the terminal to connect a container to a second network. The annoying bit, again if i remember correctly, is that you would have to rerun that command everytime the container is re-created, such as when you use the update button in the web-gui. Quote Link to comment
Solverz Posted September 8, 2021 Share Posted September 8, 2021 On 4/5/2021 at 5:53 PM, primeval_god said: A docker container can be connected to multiple docker networks, just not if i remember correctly anywhere in the unRAID web interface. You would use the command docker network connect from the terminal to connect a container to a second network. The annoying bit, again if i remember correctly, is that you would have to rerun that command everytime the container is re-created, such as when you use the update button in the web-gui. That is correct and it works great for me. However I would love for this command to be run for a specific container when it is recreated or on start. Any ideas anyone? pls Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.