Skip to content

Conversation

@prangowda
Copy link

@prangowda prangowda commented Apr 15, 2025

Summary:

This pull request updates the Keycloak service configuration in docker-compose.yml to replace the deprecated jboss/keycloak:11.0.3 image with the newer and supported quay.io/keycloak/keycloak:21.1.1 image.

Changes:

  1. Image Replacement:

    • Replaced jboss/keycloak:11.0.3 with quay.io/keycloak/keycloak:21.1.1.
  2. Environment Variables:

    • Updated KEYCLOAK_USER and KEYCLOAK_PASSWORD to KEYCLOAK_ADMIN and KEYCLOAK_ADMIN_PASSWORD.
  3. Startup Command:

    • Added the start --hostname keycloak command to ensure compatibility with the new image's startup process.
  4. Service Functionality:

    • Verified that the updated configuration maintains functionality for other services in the docker-compose.yml.

Motivation:

These updates ensure compatibility with the latest Keycloak releases and address the deprecation of the old image. This change also standardizes the configuration to align with the requirements of newer Keycloak versions.

Fixed Issues:

Closes #90

Testing:

  • Build and run the updated docker-compose.yml setup.
  • Verify that Keycloak starts successfully and remains accessible.
  • Test integration with dependent services to ensure no regressions.

Additional Notes:

Please review and test the changes to ensure compatibility with your specific setup.

This update replaces the deprecated jboss/keycloak:11.0.3 image in the docker-compose.yml file with the newer and supported quay.io/keycloak/keycloak:21.1.1 image. The configuration has been updated to align with the requirements of the newer Keycloak versions. This includes:

1) Changing KEYCLOAK_USER and KEYCLOAK_PASSWORD to KEYCLOAK_ADMIN and KEYCLOAK_ADMIN_PASSWORD.
2) Adding the start --hostname keycloak command for compatibility with the new Keycloak startup process.
3) Ensuring the file remains functional for all other services.
These updates ensure compatibility with the latest Keycloak releases and address the deprecation of the old image.
@nizamial09
Copy link
Member

@prangowda: thanks for the contribution. i have the comments that i raised here on why not updating it to the latest version: #91 (comment)

And also #91 (comment).

and it looks like a duplicated effort of what @ankitk18 is doing (although it hasn't been updated for a while now), so I am okay with going with this PR as long as its fairly tested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

jboss/keycloak no longer available

2 participants