Ok, nevermind β¦
I did a major mistake at
5.1.Environment Variable
of the guide HowTo: Ubuntu + Docker + Nextcloud + Talk + Collabora
Instead of the public IP, I used 127.0.0.1 for NEXTCLOUD_IPADDRESS variable. After I fixed this, rebuilding the container and rebooting the server, everything is working fine now.