The way I configure my Dockers, I set these custom runtime settings through environment variables. You can find the documentation on how to set them here. The documentation on Mendix's custom runtime settings can be found here.
Combining these two, you can set this setting by passing it as environment variable to your Docker as:
docker run -it -e MXRUNTIME_SessionTimeout=600000
Thank you. That’s a nice answer.