One Service, Multiple Sub-Domains, Each pointing to another path - docker-compose.yml labelling

Hi there.

I have got

  • 1 Service in 1 Docker Container with 1 port

  • three domains for that container: example. com, webmail.example. com, admin.example. com

  • example. com should point to document root /

  • webmail.example. com should point to /webmail

  • admin.example. com should point to /admin

I'm only getting the base domain running with https and auto-generated cert.

How to configure all the labels to get the rest done?