You should be able to publish a port range in your stack file or under the service create UI.
Just like in any
ports: - "20:20" - "21:21" - "64000-64100:64000-64100"
This is very painful and unnecessary to list each individual port in the range within the
docker-cloud.yml or the service create port UI.