your compose file is little strange…
- AFAIK ports and expose is mutually exclusive - you should choose only one
(sounds you are using my old confg from Docker Compose for Nextcloud + Collabora + Traefik? - #2 by wwe - better use following post by bluepuma77) - domain setting is outdated since ages
- why did you comment out
# - 'traefik.http.services.collabora.loadbalancer.server.port=9980'
please review