See https://forum.xwiki.org/t/what-is-the-correct-way-to-set-java-memory-parameters-in-docker-compose-yml/4165