What is the equivalent of --add-host=host.docker.internal:host-gateway in a Compose file
Starting from Docker version 20.10 ( https://github.com/moby/moby/pull/40007 ), there is a new special string host-gateway that one can use within the --add-host run flag to allow a direct connection from inside a docker container to the local machine on Linux based systems. And this is very nice. But what is the equivalent of --add-host=host.docker.internal