you docker compose includes useless complexity e.g. I would avoid fixed IPs.
I would recommend starting with official Nginx reverse proxy example and more sophisticated Nextcloud docker compose setup with Caddy (2024)
your dyndnsv6 makes me think the problem might result from the fact Docker doesn’t serv ipv6 by default. Look through the topics we covered similar issue shortly.