title: How to communicate between Docker containers via "hostname"
body: <p>I plan to split my monolthic server up into many small docker containers but haven't found a good solution for "inter-container communication" yet. This is my target scenario:</p>
  
  <p><img src="https://i.stack.imgur.com/USA2n.png" alt="Target scenario"></p>
  
  <p>I know how to link containers together and how to expose ports, but none of these solutions are satisfying to me. </p>
  
  <p><strong>Is there any solution to communicate via hostnames (container names) between the containers like in a traditional server network?</strong></p>