Skip to content

Gamify-IT/keycloak

Repository files navigation

Gamify-IT Keycloak image

This Keycloak image imports the Gamify-IT 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 Gamify-IT 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