title: Docker-compose open all ports
body: <p>I'm am deploying an app inside a docker container that randomly assigns ports when it starts.
  The problem is I want to use <code>docker-compose</code> but is there a way to expose all ports for the service using docker-compose? Without docker-compose, I would use <code>docker run ... -P</code></p>
  
  <p>Thanks</p>