Configuration options
Environment Variables
The environment variables, which are defined in the openiam-docker-compose/env.sh
, should be reviewed and updated to align with your enviornment and deployment objectives. These MUST be done before running the deployment scripts. The env.sh file is sourced during the installation process and the export statements in this file are executed.
Environment variable | Description |
---|---|
LOGGING_LEVEL | The logging level of OpenIAM modules. The values that can be specified are:
|
OPENIAM_VERSION_NUMBER | The OpenIAM version that you wish to run. For OpenIAM 4.2.0.5, set this environment variable to 4.2.0.5 |
BUILD_ENVIRONMENT | The OpenIAM environment that you are pulling from Docker. Valid values are latest, dev, qa, and prod. By default, the build environment is set to prod. |
REDIS_PASSWORD | The password that is used to communicate with Redis, the in-memory data structure store that is used as a database, cache, and message broker. By default, it is set as export REDIS_PASSWORD="passwd00" |
RABBITMQ_PASSWORD | This is the password that will be used to communicate with RabbitMQ. By default, it is set as export RABBITMQ_PASSWORD="passwd00" |
DB_ROOT_PASSWORD | The root password that is used to set up MySQL. Note:This password stays internal to the MySQL Docker container to ensure security. By default, it is set as export MYSQL_ROOT_PASSWORD="passwd00" |
DB_TYPE | The database type to be used. Valid values are MariaDB, Posgres, MSSQL, and Oracle. By default, the database type is set to MariaDB. |
LDAP_KEYSTORE_PASSWORD | Password of your keystore. The default value is changeit. |
OPENIAM_DEFAULT_URI | The URL to which the application defaults when a user enters an unknown URL. By default, the URL is specified as /selfservice/. |
SYS_LOG_HOST | The Docker host server. This environment variable, along with the DOCKER_HOST_IP, allows redirecting syslogs from OpenIAM to the Docker host server. |
DOCKER_HOST_IP | The IP address of the Docker host. This environment variable, along with the SYS_LOG_HOST, allows redirecting syslogs from OpenIAM to the Docker host server. Use the OS command to get the IP address or set it manually. For example export DOCKER_HOST_IP=172.18.0.1 or export DOCKER_HOST_IP=$(ifconfig docker_gwbridge |
REDISSON_TIMEOUT | The server response timeout in milliseconds. The default value for the response timeout is 5000 (set by export REDISSON_TIMEOUT="5000" in the file). |
JDBC_OPENIAM_DB_USER | This is the username to the openiam database |
JDBC_OPENIAM_DB_PASSWORD | This is the password to the opeiam database |
JDBC_ACTIVITI_DB_USER | This is the username to the activiti database |
JDBC_ACTIVITI_DB_PASSWORD | This is the password to the activiti database |
OPENIAM_DATABASE_NAME | The openiam database name |
ACTIVITI_DATABASE_NAME | The openiam database name |
KEYSTORE_PSWD | This is the java keystore password |
IAM_JKS_PASSWORD | The password encyrption key master password |
IAM_JKS_KEY_PASSWORD | The password encryption key password |
IAM_JKS_COOKIE_KEY_PASSWORD | The cookie key password |
IAM_JKS_COMMON_KEY_PASSWORD | The common key password |
VAULT_JKS_PASSWORD | The password of the Vault Certificate. See the Vault section for information about setting up the Vault Certificate |