Configuration example for Keycloak using Docker Compose:
Go to file
Johannes Reppin 9c7bc86f6e remove unused nginx.conf 2023-02-02 14:20:57 +01:00
README.md small update to README.md 2023-02-02 14:15:43 +01:00
docker-compose.yml changes in docker-compose.yml 2023-02-02 14:11:24 +01:00
keycloak.conf add nginx proxy & companion container 2023-01-26 13:32:24 +01:00

README.md

Keycloak Docker Compose Setup

Configuration example for Keycloak using Docker Compose:

  • docker-compose.yml
    • main compose definition file
  • keycloak.conf
    • configuration file for Keycloak

How-To

  1. Create Virtual Machine
    • add ssh-keys for login
    • disable root login & default user
    • enable ssh & web / https security groups 1b. Add DNS alias
  2. Install Docker w/ docker-compose
 sudo apt-get update
 sudo apt-get install docker-compose-plugin
  1. Clone Repository

    • git clone https://gitlab.desy.de/johannes.reppin/keycloak-docker-compose.git
  2. Change into dir

    • cd keycloak-docker-compose
  3. adjust environment

    • VIRTUAL_HOST
    • LETSENCRYPT_HOST
    • KEYCLOAK_ADMIN
    • KEYCLOAK_ADMIN_PASSWORD
  4. start docker-compose docker compose up -d

  5. visit Keycloak Website

Containers

  • Keycloak version 20
  • Nginx Proxy
  • Proxy Companion
  • Postgres Database