title: docker run --net = "host" equivalent in docker-compose
body: <p>I want to run my dokcer image in <code>docker-compose</code> with <code>--net = "host"</code> as my docker run with <code>--net = "host"</code> works fine. </p>
  
  <p>But I wanna do it with docker-compose. I also added <code>network_mode: "host"</code> to my <code>docker-compose.yml</code> file. But no chance. Here is my <code>docker-compose.yml</code> file:</p>
  
  <pre><code>version: '2'
  
  services:
    campaign-app-avano-mci:
      image: imagename
      ports:
        - "4558:4558"
      network_mode: "host"
      volumes:
        - /apps/dockers/campaign-app-avano-mci/:/logs
      environment:
        - SDP_MONGO_DATABASE="campaign-app-avano-mci"
        - SDP_SDK_PORT="4558"
        - SDP_PLATFORM_URL="host-platform:9600/aban-platform"
  </code></pre>
  
  <p>any suggestion?</p>