This Keycloak image imports the Misarch realm on startup.
This image sets some default values. For more information about the variables see the keycloak documentation.
KC_DB:- default:
postgres
- default:
KC_DB_URL:- default:
jdbc:postgresql://keycloak-db:5432/postgres
- default:
KC_DB_USERNAME:- default:
postgres
- default:
KC_DB_PASSWORD:- default:
postgres
- default:
KC_HOSTNAME_STRICT:- default:
false
- default:
KC_HTTP_PORT:- default:
80
- default:
KC_HTTP_RELATIVE_PATH:- default:
/keycloak
- default:
KC_PROXY:- default:
edge
- default:
KC_OVERRIDE:- If the following is not set or true, the Misarch realm will be dropped whenever you start the container. Only recommended for development
- default:
false
SKIP_IMPORT:- set to
trueto skip the import
- set to
To build and run for development run:
docker compose up --buildIn order to update Keycloak, you need to
- update the version in
./Dockerfileline 6 - update the version in
./keycloak-user-creation-events/pom.xmlline 12