IPv6 hides Users real IP

So this is apparently a docker issue from what i am aware, but newer docker versions implemented better IPv6 support.

My issue is that, when i enabled IPv6 that all my users IP addresses are shown as the docker containers IP Address.

The image shows an interface asking for an IP address input displaying "172.170.1.1" and a button labeled "IP-Abrufe." (Beschriftet durch KI)

Is this something Discourse actually supports by now and i just miss configured something? Or does Discourse need to implement this eventually? From what i am aware modern Docker installations come with proper IPv6 support by now and you only need to give the container a IPv6 address in a IPv6 Network, for it to work.

Everything else works and when someone connects via an IPv4 the record is shown correctly. The server also only runs Discourse nothing else.