-
-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #50 from JavatoDev-com/49-keycloak-realm-export-se…
…tup-with-docker-compose 49 keycloak realm export setup with docker compose
- Loading branch information
Showing
3 changed files
with
2,711 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM quay.io/keycloak/keycloak:23.0.7 | ||
|
||
# Make the realm configuration available for import | ||
COPY ./realm-export.json /opt/keycloak_import/ | ||
|
||
# Import the realm and user | ||
RUN /opt/keycloak/bin/kc.sh import --optimized --file /opt/keycloak_import/realm-export.json | ||
|
||
# The Keycloak server is configured to listen on port 8080 | ||
EXPOSE 8080 | ||
|
||
# Import the realm on start-up | ||
CMD ["start-dev"] |
Oops, something went wrong.