You can try the following:
$ docker run --name postgres -e POSTGRES_DATABASE=keycloak -e
POSTGRES_USER=keycloak -e POSTGRES_PASSWORD=password -e
POSTGRES_ROOT_PASSWORD=password -d postgres
$ docker run --name keycloak --link postgres:postgres -e
POSTGRES_DATABASE=keycloak -e POSTGRES_USER=keycloak -e
POSTGRES_PASSWORD=password -p 8080:8080 jboss/keycloak-ha-postgres
CTRL-C
$ docker start keycloak
$ docker exec keycloak keycloak/bin/add-user-keycloak.sh -u admin -p admin
$ docker restart keycloak
$ docker attach keycloak
You should now be able to login as admin:admin on
http://localhost:8080/auth
On Fri, Jan 19, 2018 at 7:20 AM, Anton <kurrent93(a)gmail.com> wrote:
Hello
I'm using jboss/keycloak-ha-postgres docker image, and have tried running
`add-user-keycloak.sh -u admin -p admin` but am still unable to login using
this username/combo.
Can someone please tell me how to set the admin password?
Thanks
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user