|
|
- # Keycloak docker starter
-
- Follow instructions from [main README file](../README.md)
-
- ## Startup
-
- To start docker running keycloak
- ```console
- bash docker-keycloak.sh
- ```
-
- Go to http://localhost:8080 and login via `admin:admin`.
-
- Create a new realm `demorealm`.
-
- Create a new client with client-id=`react-app`, leave everything else untouched (openid-connect).
-
- Create a new user and set his credentials.
-
- ----
- ## Keycloak theming
-
- [Download Alfresco Theme](https://downgit.github.io/#/home?url=https://github.com/Alfresco/alfresco-keycloak-theme/tree/master/theme/login)
-
- Follow instructions inside [Alfresco theme repository](https://github.com/Alfresco/alfresco-keycloak-theme)
-
- ----
- Alternatively, use the instruction below
-
- Get running container id by
- ```console
- docker ps
- ```
-
- Then connect with bash into the container
- ```console
- docker exec -it containderId bin/bash
- ```
-
- Create appropriate theme folder and exit
- ```console
- mkdir /opt/jboss/keycloak/themes/alfresco
- exit
- ```
-
- Copy `theme` folder into docker container
- ```console
- docker cp theme containerId:/opt/jboss/keycloak/themes/alfresco
- ```
-
- Restart container if the theme is not visible inside administrator console
- ```console
- docker restart containerId
- ```
|