Homarr Behind Nginx Proxy Manager: Unreachable if connected to more than one Docker Network
I'm encountering an issue where my Homarr instance becomes unreachable when connected to multiple Docker networks. Here's a brief overview of my setup:
Homarr: Running in a Docker container with multiple networks attached.
Nginx Proxy Manager (NPM): Also running in a Docker container, connected to the same networks.
Issue: When Homarr is connected to just one network, NPM can access it without problems. However, when I add additional networks to Homarr, NPM can no longer reach it, resulting in a curl: (7) Failed to connect error.
services:
homarr:
container_name: homarr
image: ghcr.io/homarr-labs/homarr:latest
restart: unless-stopped
user: "1000:1000"
networks:
- public
- dockerproxy
- private
volumes:
- /services/homarr:/appdata
env_file: /dockerfiles/homarr.env
networks:
public:
external: true
dockerproxy:
external: true
private:
external: true
This is my ENV file
SECRET_ENCRYPTION_KEY=<redacted>
DOCKER_HOSTNAMES=dockerproxy
DOCKER_PORTS=2375
PORT=7575
Error Message:
curl: (7) Failed to connect to homarr port 7575 after 2 ms: Couldn't connect to server
Has anyone experienced a similar issue or have suggestions on how to resolve this? Any insights would be greatly appreciated!
Thank you in advance!Solution:Jump to solution
Your question is out of scope of our support. We are volunteers working on Homarr and cannot provide you with any information or help with third party software. Please contact the support of the respective applications instead to receive help.
3 Replies
Thank you for submitting a support request.
Depending on the volume of requests, our team should get in contact with you shortly.
⚠️ Please include the following details in your post or we may reject your request without further comment: - Log (See https://homarr.dev/docs/community/faq#how-do-i-open-the-console--log) - Operating system (Unraid, TrueNAS, Ubuntu, ...) - Exact Homarr version (eg. 0.15.0, not latest) - Configuration (eg. docker-compose, screenshot or similar. Use ``your-text`` to format) - Other relevant information (eg. your devices, your browser, ...)
Frequently Asked Questions | Homarr documentation
Can I install Homarr on a Raspberry Pi?
!qa out_of_scope
Solution
Your question is out of scope of our support. We are volunteers working on Homarr and cannot provide you with any information or help with third party software. Please contact the support of the respective applications instead to receive help.