Comment on set up local DNS using Pi-hole + nginx + audiobookshelf
BigDogDave@lemmy.world 4 days agoIf the port isn’t being explicitly exposed then it won’t expose by default. I have my containers set up in a similar way where nginx has it’s own network and I attach any containers I want to proxy to the same network. On most cases I’m able to remove the ports section from config and point nginx at the name of the container, and the container’s default http port. The way OP originally configured this should be fine IF nginx and audiobookshelf are on the same docker network.
Malasaur@sh.itjust.works 4 days ago
I honestly didn’t know that. I personally just configure a specific port for each stack and have NPM forward it directly without configuring any network.
I just noticed OP did configure a network, but tbh I don’t know how they work exactly and gave recommendations on what I knew.
If using networks is the standard way or OP feels better off that way then I’ll leave them to it