In docker-compose, each container can be reached via their name (thanks to the embedded DNS server), which is cool.
Is it possible to specify a domain?
I mean, “dig api.mycompany.loc” === “dig api”
(I don’t want to specify alias for all containers, maybe some network settings could do the trick).