Yesterday, 08:57 PM
(This post was last modified: Yesterday, 09:11 PM by 4r5hw45twh. Edited 5 times in total.)
(Yesterday, 08:44 PM)TheDreadPirate Wrote: If that is the case, you would need to publish ports 7359 and 1900 in the docker compose.
Code:ports:
- 1900:1900
- 7359:7359
What is the best way to do things here? Is it proper/Should I even be having those 3 on their own network name, or should I remove the network name I gave and just change all 3 to "network_mode: host"? Assuming that would still allow people/myself access JF outside of my local network via domain name still. I really just want the most basic, simplest setup I can get to still discover local things on my network when they're inside of Docker but also be accessed outside my network via domain name.
Because if I can just make all 3 of my Docker things "network_mode: host" and not even have to mess with ports on the compose files, wouldn't that be the easiest approach? Unless I'm missing something. Currently, I don't have any ports on my compose file at all. And if I go the ports route that you mentioned, should I also add 8096 and 8920 while I'm at it? And port 1900 is for DLNA, right? So I guess I would need to also add "--net=host" to the compose file too?