title: Can't access Api from angular container
body: <p>I have a docker-compose file which contains several containers, two between them are an angular front application and a spring boot API. 
  when running the docker-compose file I successfully access the angular app from my browser, but when I tried to access the API from the angular app (send post request), I got </p>
  
  <pre><code>net::ERR_NAME_NOT_RESOLVED.
  </code></pre>
  
  <p>In my angular app I am calling the api using its alias defined in the docker-compose.</p>
  
  <pre><code>http://search-service:8080/
  </code></pre>
  
  <p>Any suggestions to fix this error?</p>