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.
 
 
 
 
Dmitry Sim b4567c6cae 0.1.8 2 years ago
juice juice_14_06_21 2 years ago
test initial implementation 3 years ago
Dockerfile switch to 12.0.4 (0.1.7) 2 years ago
README.md rename to jce-keycloak 3 years ago
build.sh rename to jce-keycloak 3 years ago
restart.sh rename to jce-keycloak 3 years ago
version.ini 0.1.8 2 years ago

README.md

Keycloak image with juice theme inside

A short project that inject juice theme into a docker image. Juice theme should be located in ./juice folder.

!!!IMPORTANT!!!: IF YOU MAKE AN UPDATE, PLEASE UPDATE THE VERSION.INI FILE ACORDING TO STANDARD VERSIONING RULES (NUMBERS ONLY).

Docker commands

Build the image

Build an image with tag jce-keycloak.

docker build -t jce-keycloak .

Stop previously running container

docker stop jce-keycloak

Start a container

docker run --rm -it -d \
  -p 8080:8080 \
  -e KEYCLOAK_USER=admin \
  -e KEYCLOAK_PASSWORD=admin \
  -e DB_VENDOR=postgres \
  -e DB_ADDR=172.17.0.1 \
  -e DB_DATABASE=keycloak \
  -e DB_USER=keycloak \
  -e DB_PASSWORD=keycloak \
  --name jce-keycloak \
  jce-keycloak

Linux: PGHOST=172.17.0.1 Mac&Win: PGHOST=host.docker.internal

Testing

There is a file url.test.js that will generate a login URL. After sucessfull login, provide the redirect url from the browser as an argument for the script to acquire tokens.

The script includes installable package listed at the top.

Change configuration inside of the script according to your realm settings.