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.
This is my ENV file
Error Message:
Has anyone experienced a similar issue or have suggestions on how to resolve this? Any insights would be greatly appreciated!
Thank you in advance!
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: trueThis is my ENV file
SECRET_ENCRYPTION_KEY=<redacted>
DOCKER_HOSTNAMES=dockerproxy
DOCKER_PORTS=2375
PORT=7575Error Message:
curl: (7) Failed to connect to homarr port 7575 after 2 ms: Couldn't connect to serverHas anyone experienced a similar issue or have suggestions on how to resolve this? Any insights would be greatly appreciated!
Thank you in advance!
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.