title: mediasoup v3 with Docker
body: <p>Im trying to run an <strong>2</strong> WebRTC example(using mediasoup) in docker</p>
  <p>I want to run two servers as I am working on video calling across a set of instances!</p>
  <p>My Error:</p>
  <blockquote>
  <p>Have you seen this Error:
  createProducerTransport null Error: port bind failed due to address not available [transport:udp, ip:'172.17.0.1', port:50517, attempt:1/50000]</p>
  </blockquote>
  <p><em><strong>I think it's something to do with setting the docker network?</strong></em></p>
  <p><strong>docker-compose.yml</strong></p>
  <pre><code>version: &quot;3&quot;
  services:
    db:
      image: mysql
      restart: always
    app:
      image: app
      build: .
      ports:
        - &quot;1440:443&quot;
        - &quot;2000-2020&quot;
        - &quot;80:8080&quot;
      depends_on:
        - db 
    app2:
      image: app
      build: .
      ports:
        - &quot;1441:443&quot;
        - &quot;2000-2020&quot;
        - &quot;81:8080&quot;
      depends_on:
        - db 
  </code></pre>
  <p><strong>Dockerfile</strong></p>
  <pre><code>FROM node:12
  
  WORKDIR /app
  COPY . .
  
  CMD npm start
  </code></pre>