8000 Provide an option like `JAVA_OPTS_APPEND` also for Quarkus based Keycloak.X container. · Issue #9188 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content

Provide an option like JAVA_OPTS_APPEND also for Quarkus based Keycloak.X container. #9188

Closed

Description

@dasniko

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

Activity

  1. added
    area/dist/quarkusQuarkus distribution — packaging, container images, server config (kc.sh)
    and removed on Dec 16, 2021
  2. added a commit that references this issue on Dec 16, 2021
    fa32cf3
  3. added this to the 16.0.0 milestone on Dec 16, 2021
  4. Repository owner moved this from Ready to Done in Keycloak: Quarkus distributionon Dec 17, 2021
  5. added a commit that references this issue on Dec 17, 2021
    b032694
  6. modified the milestones: 16.0.0, 17.0.0 on Feb 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/dist/quarkusQuarkus distribution — packaging, container images, server config (kc.sh)kind/enhancementCategorizes a PR related to an enhancement

Type

No type

Fields

No fields configured for issues without a type.

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

0