Sign inSign up

computersciencehouse/keycloak

By computersciencehouse

•Updated about 6 years ago

Extension of the official Keycloak Docker image customized for Computer Science House.

Image
0

7.3K

computersciencehouse/keycloak repository overview

⁠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 DB_DATABASE=keycloak -e DB_USER=keycloak -e DB_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).

⁠DB_DATABASE

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

⁠DB_USER

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

⁠DB_PASSWORD

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

Tag summary

Content type

Image

Digest

Size

510.6 MB

Last updated

about 6 years ago

docker pull computersciencehouse/keycloak