Skip to content
This repository has been archived by the owner on Feb 2, 2022. It is now read-only.

Unable to run keycloak with readme #10

Open
chevy67327 opened this issue Jul 16, 2021 · 0 comments
Open

Unable to run keycloak with readme #10

chevy67327 opened this issue Jul 16, 2021 · 0 comments

Comments

@chevy67327
Copy link

This command failes with "/opt/jboss/tools/docker-entrypoint.sh: line 165: DB_ADDR: unbound variable"
docker run --name demo-keycloak -e KEYCLOAK_USER=admin -e KEYCLOAK_PASSWORD=admin -p 8080:8080 --net demo-network demo-keycloak

Upon googling this specific issue I added this to the dockerfile:

ENV DB_VENDOR=POSTGRES
ENV DB_ADDR=postgres
ENV DB_DATABASE=keycloak

It gets further but I get other more complicated errors:

ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("subsystem" => "microprofile-metrics-smallrye")]): java.lang.NullPointerException

It appears t hat updates to keycloak or postgresql have broken your original project.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant