This is an automated archive made by the Lemmit Bot.
The original was posted on /r/selfhosted by /u/JosephCY on 2024-12-11 10:36:55+00:00.
Like most of the people, I run ~90% of my selfhosted apps with docker container on an old pc of mine running unraid, but I have never really care about the docker network part, everything is on the default bridge network.
I don’t even use the docker container name resolution, because it’s not available in the default bridge network, so let’s say my app needs to talk to a postgres container, I just expose a port of that postgres container, and yeah that means everyone in my home network can access it as well, including some “aliexpress smart devices” connected to my wifi. (I don’t have vlan capable AP for segregation)
Fortunately I didn’t have to open any ports on my router, my publicly available app are done with running haproxy on a cheap/free vps and tunnel to my homeserver with wireguard.
I couldn’t figure out what would be the real benefits for me to setup custom docker network and segregate all my stuff, except to turn off some port on some dbs container.
How do you use custom docker network? Or you don’t and just run everything on default bridge?