https://github.com/arenadata/keycloak-arenadata
Arenadata Keycloak customization
https://github.com/arenadata/keycloak-arenadata
Last synced: 6 months ago
JSON representation
Arenadata Keycloak customization
- Host: GitHub
- URL: https://github.com/arenadata/keycloak-arenadata
- Owner: arenadata
- License: apache-2.0
- Created: 2022-05-04T05:31:41.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-06-11T16:09:53.000Z (about 4 years ago)
- Last Synced: 2023-03-04T04:49:57.673Z (over 3 years ago)
- Language: CSS
- Size: 376 KB
- Stars: 8
- Watchers: 5
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Arenadata Keycloak Customization

Includes:
- Yandex identity provider with `hostedDomain` parameter support;
- corporate login theme;
- Dockerfile to build application image in Quarkus style.
## How to build
Just run `make build`. The `Makefile` contains a set of environment variables
to customize the image. Use can change the values when calling `make` or use
`.env` file (recommended).
Use the following environment variables to customize build:
- `KC_DB`: the type of database
- `KC_DB_URL`: database jdbc URL
- `KC_DB_USER`: database user
- `KC_DB_PASSWORD`: database password
- `IMAGE`: Docker image name
- `KC_ARGS`: additional parameters for `start` or `start-dev` command
## How to run
When developing, just run `make start` or `make start-dev` with the parameters
you need.
To run with `docker-compose`, use the following configuration:
```
version: "3"
services:
keycloak:
image: hub.adsw.io/library/keycloak-arenadata:17-0.1.0
environment:
KC_DB_URL: "jdbc:postgresql://hostname:port/database"
KC_DB_USERNAME: user
KC_DB_PASSWORD: password
ports:
- 8080:8080
command: start --http-enabled=true --proxy=edge --hostname-strict=false
```
You can tune some build parameters (e.g. add new plugins or change URI path
prefix) in `--auto-build` mode, for example:
```
command start --auto-build --db=postgres --http-relative-path=/auth
```
Use `--auto-build` only in debug or quick fix mode, for production it's better
to rebuild optimized container using Dockerfile.