The docker packaging and the configuration file advertise a port can be set, but that isn't actually getting read by the mongo configuration code, which makes it fall back to the default port.
We should likely remove the MONGO_PORT option from the docker packaging and the configuration file, or fix the code to allow it to work. It seems like its looking for host:port in the servers line of the file.
https://github.com/saalfeldlab/render/blame/d65fb27ce59b7100293c360ba902e6a9ec443ee6/render-ws/src/main/java/org/janelia/render/service/dao/DbConfig.java#L142