-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keycloak #138
Keycloak #138
Conversation
@@ -6,8 +6,8 @@ bash.exe.stackdump | |||
*.param | |||
.scannerwork/ | |||
.sonarqube/ | |||
auth/keycloak/config/hsperfdata_jboss/ | |||
auth/keycloak/config/*.log | |||
keycloak/config/hsperfdata_jboss/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new keycloak doesn't use the auth
path
@@ -34,7 +32,7 @@ services: | |||
env_file: | |||
- keycloak/.env | |||
volumes: | |||
- ./keycloak/config/realm-export.json:/tmp/realm-export.json | |||
- ./keycloak/config:/opt/keycloak/data/import |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New location for the configuration files
@@ -1,6 +1,8 @@ | |||
# https://hub.docker.com/r/jboss/keycloak/ | |||
FROM jboss/keycloak:16.1.1 | |||
FROM keycloak/keycloak:24.0.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New image because the old one doesn't exist anymore
@@ -45,6 +47,10 @@ $ /opt/jboss/keycloak/bin/standalone.sh \ | |||
-Djboss.http.port=8888 \ | |||
-Djboss.https.port=9999 \ | |||
-Djboss.management.http.port=7777 | |||
|
|||
# New Keycloak image | |||
/opt/keycloak/bin/kc.sh \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New export and import commands
DB_DATABASE=keycloak | ||
DB_USER=$dbUser | ||
DB_PASSWORD=$dbPassword" >> ./keycloak/.env | ||
KC_DB=postgres |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New configuration for the keycloak image
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="DotNetEnv" Version="3.0.0" /> | ||
<PackageReference Include="DotNetEnv" Version="3.1.0" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated to latest versions
The original keycloak image is no longer available. This would result in new developers unable to setup and run the application locally. I have updated to the new keycloak image. This required refactoring and resolving bugs.