Dmitriy Sim 5c037c7d8d | 3 years ago | |
---|---|---|
juice | 3 years ago | |
test | 3 years ago | |
Dockerfile | 3 years ago | |
README.md | 3 years ago | |
build.sh | 3 years ago | |
restart.sh | 3 years ago | |
version.ini | 3 years ago |
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).
Build an image with tag juice-keycloak.
docker build -t juice-keycloak .
docker stop juice-keycloak
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 juice-keycloak \
juice-keycloak
Linux: PGHOST=172.17.0.1 Mac&Win: PGHOST=host.docker.internal
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.