Collabnix on X: "Confused about the role of hostname in docker Compose via /r/docker https://t.co/wWSiIIx9G1 If two containers defined as services in a docker Compose file need to communicate on the default
Don't set hostname to service name when using --x-networking · Issue #2327 · docker/compose · GitHub
![How to configure docker networking with docker-compose to enable remote access to docker container via IP? - General Discussions - Docker Community Forums How to configure docker networking with docker-compose to enable remote access to docker container via IP? - General Discussions - Docker Community Forums](https://global.discourse-cdn.com/docker/original/3X/d/8/d88ce06c8cc3f6f3d1564432c8755815f9b57ed1.png)