Skip to content

Keycloak

Keycloak microservice, by default is running on http://${ip}:8020/_by_name/keycloak-microservice, where ${ip} is the ip address of the Primary worker.

Configuration

Configuration files for Keycloak are available on the current Primary worker.

In the following table:

  • ${onteon_node_manager_path} - absolute path to Onteon Node Manager (by default /usr/local/bin/onteon-node-manager).
Key Value
Configuration file ${onteon_node_manager_path}/store/drbd/onteon-ha-resource-0/keycloak/conf/keycloak.conf
Default database directory ${onteon_node_manager_path}/store/drbd/onteon-ha-resource-0/keycloak/data

For further details about Keycloak configuration visit official Keycloak documentation.

Default Configuration

In the following configuration:

  • ${onteon_node_manager_path} - absolute path to Onteon Node Manager (by default /usr/local/bin/onteon-node-manager).
  • ${applicationId} - is the newest application id of the keycloak-microservice,
  • ${applicationInstanceId} - is the newest application instance id of the keycloak-microservice,
  • ${version} - is the version of the keycloak-microservice,
  • ${ip} - is the ip address of current worker,
  • ${port} - is the port, where keycloak-microservice is working (decided by Onteon).
profile=production

db=dev-file
db-url=jdbc:h2:file:${onteon_node_manager_path}/store/drbd/onteon-ha-resource-0/keycloak/data/keycloakdb;NON_KEYWORDS=VALUE;DB_CLOSE_ON_EXIT=FALSE;DB_CLOSE_DELAY=0

http-host=0.0.0.0

hostname-strict=false
hostname-strict-https=false
https=false
http-enabled=true
http-port=${port}
hostname-url=http://${ip}:8020/_by_name/keycloak-microservice
hostname-admin-url=http://${ip}:8020/_by_name/keycloak-microservice

log=console,file
log-file=${onteon_node_manager_path}/log/app/keycloak-microservice/${version}/${applicationId}/${applicationInstanceId}/log.log

cache=local

proxy=edge

health-enabled=true