Skip to content

This repository configures Keycloak IAM with PostgreSQL using Docker Compose

License

Notifications You must be signed in to change notification settings

luabagg/containerized-keycloak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auth Server

The auth server is responsible for the IAM (Identity and Access Management).

Useful links

Tech Stack

  • Keycloak for IAM
  • PostgreSQL as Database
  • pgAdmin4 as PostgreSQL administration tool

Custom Providers

Custom providers are extensions of the original Keycloak feature. For this project, some custom providers will be used.

See more at server development.

External Providers

API Gateway Integration

See more at Keycloak Authorization with KrakenD API Gateway.

Configuration

  • Start by building the server
    docker compose build
  • Add the environment file
    cp .env.example .env
  • Start the server
    docker compose up
  • Give pgAdmin volume right permissions
    sudo chown 5050 ./data/pgadmin
  • Configure Keycloak DB in pgAdmin (localhost:5050)
    1. Login (defaults: [email protected], admin)

      pgAdmin Login

    2. Login (defaults: postgres, 5432, keycloak, keycloak, password)

      pgAdmin Register

    3. You're all set! Start using and configuring Keycloak at localhost:8080 and localhost:8081

About

This repository configures Keycloak IAM with PostgreSQL using Docker Compose

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published