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