Load balancer port config

Following up on a question asked in Slack, we’re trying to deploy a Datomic transactor in a container behind a load balancer (which in this case only serves as a proxy). When the container is deployed, the transactor process is assigned a random port to bind to. The load balancer, however, has a static port.

IIUC, the port config in the transactor properties file is both the port that a peer needs to connect to and the port that the transactor listens on. This doesn’t work for our scenario as one port is static and the other random. I don’t see an alt-port property anywhere; is it true that the ports must be the same? That seems to exclude the possibility of deploying Datomic on platforms like ours.