Feature request · Data export & migration · Blocks work
Restore realm import on startup via environment variable
1 source thread · first seen 2022-02
Summary
Since 17 the KEYCLOAK_IMPORT variable no longer works, so users must wait for startup and import with kcadm or restart with kc.sh import.
- Affects
- Docker Compose users automating setup
- Workaround
- Use kcadm.sh create realms, or kc.sh import followed by a restart.
Evidence
Excerpts are copied word for word from the source; follow the link to read it in full.
“Now we have to wait until Keycloak starts and do the import using one of the ways”