readOnlyPort

fun readOnlyPort(readOnlyPort: Int = 0): ServerConfig

Port on which to start a read-only Postgres wire-compatible server.

Default is -1, to not start a read-only server. Set to 0 to have the server choose an available port.