Nextcloud version (eg, 20.0.5): 22.0.0
Operating system and version (eg, Ubuntu 20.04): Ubuntu 21.04
Apache or nginx version (eg, Apache 2.4.25): unknown (from docker image)
PHP version (eg, 7.4): unknown (from docker image)
Docker version: 20.10.2
The issue you are facing:
I am not able to connect to my local Nextcloud from any smartphone outside my network. Inside my network anything seems fine. So far the problem seems to be ipv6. My domain resolves to ipv4 and ipv6 addresses, but is not reachable with ipv6. It resolves to the local ipv6 address of the ethernet adapter of the docker host.
As far as I see, docker currently does not run with ipv6 support. So only ipv4 will be routed within the container networks. I activated ipv6 support with /etc/docker/daemon.json and restarted docker. The docker0 interface now has a ipv6 address. But I could not find out what to add to my docker-compose file.
I use traefik for routing, which should be able to handle ipv6 as well.
Is there anyone who succeeded in configuring ipv6 with docker and nextcloud?
Is this the first time you’ve seen this error? (Y/N): Y