Skip to content

MiSArch/keycloak

Repository files navigation

Misarch Keycloak image

This Keycloak image imports the Misarch realm on startup.

Environment variables

This image sets some default values. For more information about the variables see the keycloak documentation.

  • KC_DB:
    • default: postgres
  • KC_DB_URL:
    • default: jdbc:postgresql://keycloak-db:5432/postgres
  • KC_DB_USERNAME:
    • default: postgres
  • KC_DB_PASSWORD:
    • default: postgres
  • KC_HOSTNAME_STRICT:
    • default: false
  • KC_HTTP_PORT:
    • default: 80
  • KC_HTTP_RELATIVE_PATH:
    • default: /keycloak
  • KC_PROXY:
    • default: edge
  • 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 true to skip the import

Development

To build and run for development run:

docker compose up --build

Updating Keycloak

In order to update Keycloak, you need to

  • update the version in ./Dockerfile line 6
  • update the version in ./keycloak-user-creation-events/pom.xml line 12

About

Customizations to deploy our own keycloak

Resources

License

Stars

Watchers

Forks

Packages