portal
portal copied to clipboard
Update KeyCloak version
As discussed in today's community meeting this issue is to collect discovered needed changes on the Docker files.
Starting point was a post from user HortusNanum.
An updated docker-compose.yaml was pushed to https://github.com/openbikesensor/portal/tree/issue_322.
docker compose up
it's failing to access http://keycloak:8080/auth/realms/obs-dev/, it works after the realm has been configured correctly- the URL is defined in https://github.com/openbikesensor/portal/blob/main/api/config.dev.py#L11
there the hostnamekeycloakcould be changed tolocalhostwith the amended hostname it still fails accessing the realm, I could not figure out, where the realmobs-devgets defined
docker-compose up keycloak
fails with
portal-keycloak-1 | 2023-03-13 23:54:07,102 TRACE [io.quarkus.bootstrap.classloading.QuarkusClassLoader] (main) Class quarkus.properties not found in parent first load from java.net.URLClassLoader@ed7f8b4
portal-keycloak-1 |
portal-keycloak-1 | ERROR: Failed to run 'build' command.
portal-keycloak-1 | Error details:
portal-keycloak-1 | java.lang.reflect.InvocationTargetException
portal-keycloak-1 | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
it often fails on the very first invocation (after clean install), consecutive invocations are not failing
docker-compose up postgres
fails related to the different user/password for thekeycloak start-dev
portal-postgres-1 | FATAL: password authentication failed for user "obs"