Forked from davidovs/docker-compose-for-keycloak-h2-import-realm.yml
Created
March 17, 2022 12:13
-
-
Save CesarChaMal/d11e03bc32d5245c46372cda6962742d to your computer and use it in GitHub Desktop.
Docker-compose for Keycloak (embedded H2 database) with import previously exported realm.
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
version: '3' | |
networks: | |
default: | |
services: | |
keycloak: | |
image: jboss/keycloak | |
restart: always | |
environment: | |
KEYCLOAK_VERSION: 6.0.1 | |
KEYCLOAK_USER: admin | |
KEYCLOAK_PASSWORD: admin | |
KEYCLOAK_IMPORT: /tmp/realm-export.json | |
volumes: | |
- ./keycloak/realm-export.json:/tmp/realm-export.json | |
ports: | |
- "8180:8080" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment