Public | Automated Build

Last pushed: 4 days ago
Short Description
Extension of the official Keycloak Docker image customized for Computer Science House.
Full Description

Keycloak for Computer Science House

Extends the Keycloak docker image to use PostgreSQL and allow reverse proxying, plus some additional tweaks for Computer Science House.

Usage

Start an instance

Start a Keycloak instance:

docker run --name keycloak computersciencehouse/keycloak

Environment Variables

When starting the Keycloak instance you can pass a number of environment variables to configure how it connects to PostgreSQL. For example:

docker run --name keycloak -e POSTGRES_PORT_5432_TCP_ADDR=postgres.mycompany.com -e POSTGRES_DATABASE=keycloak -e POSTGRES_USER=keycloak -e POSTGRES_PASSWORD=password computersciencehouse/keycloak
KEYCLOAK_USER

Specify the initial admin user to create.

KEYCLOAK_PASSWORD

Specify the initial admin user's password.

POSTGRES_PORT_5432_TCP_ADDR

Specify the hostname of the PostgreSQL server.

POSTGRES_PORT_5432_TCP_PORT

Specify the port of the PostgreSQL server (optional, default is 5432).

POSTGRES_DATABASE

Specify the name of the PostgreSQL database (optional, default is keycloak).

POSTGRES_USER

Specify the user for the PostgreSQL database (optional, default is keycloak).

POSTGRES_PASSWORD

Specify the password for the PostgreSQL database (optional, default is password).

Docker Pull Command
Owner
computersciencehouse