This image inherits from the official keycloak docker image and adds support for Microsoft SQL Server / Azure SQL. It uses the official jdbc driver from https://docs.microsoft.com/de-de/sql/connect/jdbc/download-microsoft-jdbc-driver-for-sql-server?view=sql-server-2017.
For normal configuration see the documentation of the official image: https://hub.docker.com/r/jboss/keycloak.
Additionally the following environment variables can be set:
MSSQL_HOST
MSSQL_PORT
MSSQL_DATABASE
MSSQL_USER
MSSQL_PASSWORD
Make sure docker is installed and running: sudo service docker start
docker build -t docker.io/mondata/keycloak-sqlserver:TAG .
If you have not done this earlier, login with docker hub:
docker login
Then, push the image:
docker push mondata/keycloak-sqlserver:TAG
This image is based on https://github.com/stocksoftware/docker-keycloak-sqlserver.