Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save CesarChaMal/d11e03bc32d5245c46372cda6962742d to your computer and use it in GitHub Desktop.
Save CesarChaMal/d11e03bc32d5245c46372cda6962742d to your computer and use it in GitHub Desktop.

Revisions

  1. @davidovs davidovs created this gist Jul 29, 2019.
    16 changes: 16 additions & 0 deletions docker-compose-for-keycloak-h2-import-realm.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    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"