Description
For Keycloak.X it's currently not possible to add custom Java properties on startup by just providing the ones you want to set without overriding the complete default JAVA_OPTS set in kc.sh|.bat. This makes it hard to adjust the environment to custom needs without modifying the kc.sh script, which makes updates more complex.
I therefore love to see a possibility to set additional JAVA_OPTS without overriding the defaults.
Discussion
#8654 (comment)
Motivation
In the legacy, Wildfly-based Keycloak Docker container, there is an environment variable named JAVA_OPTS_APPEND, which allows us to append various Java options to the default configured ones.
This is currently missing for Keycloak.X.
Using JAVA_TOOL_OPTIONS does not work for overriding the default set JAVA_OPTS in the kc.sh|bat script, e.g. it is currently not possible to set custom -Xmx and -Xms properties.
Details
No response
Description
For Keycloak.X it's currently not possible to add custom Java properties on startup by just providing the ones you want to set without overriding the complete default
JAVA_OPTSset inkc.sh|.bat. This makes it hard to adjust the environment to custom needs without modifying thekc.shscript, which makes updates more complex.I therefore love to see a possibility to set additional
JAVA_OPTSwithout overriding the defaults.Discussion
#8654 (comment)
Motivation
In the legacy, Wildfly-based Keycloak Docker container, there is an environment variable named
JAVA_OPTS_APPEND, which allows us to append various Java options to the default configured ones.This is currently missing for Keycloak.X.
Using
JAVA_TOOL_OPTIONSdoes not work for overriding the default setJAVA_OPTSin thekc.sh|batscript, e.g. it is currently not possible to set custom-Xmxand-Xmsproperties.Details
No response