Public | Automated Build

Last pushed: 2 years ago
Short Description
mongo based fork of jboss/keycloak with newrelic & SSL offloading support
Full Description

Keycloak MongoDB

Extends the Keycloak docker image to use MongoDB


Start a MongoDB instance

First start a MongoDB instance using the MongoDB docker image:

docker run --name mongo -e MONGODB_DBNAME=keycloak -d mongo

Start a Keycloak instance

Start a Keycloak instance and connect to the MongoDB instance:

docker run --name keycloak --link mongo:mongo jboss/keycloak-mongo

Environment variables

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

docker run --name keycloak --link mongo:mongo -e MONGODB_DBNAME=keycloak jboss/keycloak-mongo


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

Docker Pull Command
Source Repository