Replies: 1 comment
-
Additional info I discovered: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
As the title suggest I'm having trouble setting up NPM in my environment.
NPM is going to replace my "old" nginx reverse proxy I used to contact the Nextcloud instance. which worked previously without an issue. This to illustrate that the port forwarding on the provider side etc... are working as expected.
nextcloud.mydomain.com
to my public IPnextcloud.mydomain.com
to my host_A local IP where NPM resideshost_B.mydomain.com
to the local IP where the nextcloud instance runsMy proxy host config for nextcloud forwards to
host_B.mydomain.com
When contacting
nextcloud.mydomain.com
from an internal client machine I can reach the nextcloud instance. However when coming from the outside, so via the public IP, the connection times out.However:
When I add
network_mode: host
to thedocker-compose.yaml
I can connect from both the outside AS the inside.You would guess problem solved but in this scenario the login into NPM doesn't work... (I can get to the login page, but when I login it always returns back to the login page)
To rule out a config/compatibility issue on the Nextcloud side, I started a test container on the K3S cluster and the behavior is the same.
Basically two questions:
Is the
network_mode: host
the way to go or shouldn't that be necessary,If not, what am I missing?
If yes: How can I make the login from NPM work?
Thanks for the assistance!
kind regards.
Beta Was this translation helpful? Give feedback.
All reactions