You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
987 B

3 years ago
  1. # Keycloak docker starter
  2. Follow instructions from [main README file](../README.md)
  3. ## Startup
  4. To start docker running keycloak
  5. ```console
  6. bash docker-keycloak.sh
  7. ```
  8. ----
  9. ## Keycloak theming
  10. [Download Alfresco Theme](https://downgit.github.io/#/home?url=https://github.com/Alfresco/alfresco-keycloak-theme/tree/master/theme/login)
  11. Follow instructions inside [Alfresco theme repository](https://github.com/Alfresco/alfresco-keycloak-theme)
  12. ----
  13. Alternatively, use the instruction below
  14. Get running container id by
  15. ```console
  16. docker ps
  17. ```
  18. Then connect with bash into the container
  19. ```console
  20. docker exec -it containderId bin/bash
  21. ```
  22. Create appropriate theme folder and exit
  23. ```console
  24. mkdir /opt/jboss/keycloak/themes/alfresco
  25. exit
  26. ```
  27. Copy `theme` folder into docker container
  28. ```console
  29. docker cp theme containerId:/opt/jboss/keycloak/themes/alfresco
  30. ```
  31. Restart container if the theme is not visible inside administrator console
  32. ```console
  33. docker restart containerId
  34. ```