|
|
- # 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.
-
- ```bash
- docker build -t jce-keycloak .
- ```
-
- ### Stop previously running container
- ```bash
- docker stop jce-keycloak
- ```
-
- ### Start a container
- ```bash
- 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.
|