BigDogDave
@BigDogDave@lemmy.world
- Comment on set up local DNS using Pi-hole + nginx + audiobookshelf 4 days ago:
default
in this example is the actual name of the network, in this case we’re modifying the default network.external: true
declares that the network has already been created,name: scoobydoo
is a way of customizing the name of the default network. - Comment on set up local DNS using Pi-hole + nginx + audiobookshelf 4 days ago:
I can’t be certain here that the network configuration you’ve supplied will allow nginx to connect to audiobookshelf. If I were you I’d create a named docker network and connect both npn and audiobookshelf to it as described in their best practice documentation: nginxproxymanager.com/advanced-config/#best-pract…
- Comment on set up local DNS using Pi-hole + nginx + audiobookshelf 4 days ago:
If 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.