Use domains inside containers

Hi!

I use Docker compose, and Traefik for my development environment.
I declare many domains and subdomains to reproduce my Saas production environment.

I can access to these domains on HTTPS on my browser. It's perfect.

But, I need to call these domains inside containers. I can call http://my-service but I miss domain (client) informations...

I've found this doc GitHub - flexguse/traefik-inter-container-routing: Demo setup for showing how Docker container communication with traefik routing can be used. and I hope there's another way to do it properly. Traefik know containers and their IPs and domains declared in labels, so why can't Traefik help me to do that?