You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

This is a work in progress.

In the TIER/midPoint_container GitHub project there are artifacts needed to build and deploy dockerized version of midPoint suitable to use within the TIER IdM environment.

This is the status of the work:

RequirementDescriptionState
loggingSpecific format of log lines with appropriate configurability.done
repository attachmentThe midPoint repository can be attached to the midPoint server in a flexible way. It can be either deployed in an (alternative) Docker container, or be provided externally either on premises or in the cloud.partially done
docker secretsSensitive data can be distributed using Docker secrets.partially done
Shibboleth integrationUsers can be authenticated to midPoint using Shibboleth.in progress
...

Documentation

Logging feature

Logging is configured by setting the following environment variables: either from the command line or from docker-compose.yml (see commented-out examples in the provided file).

Environment variableMeaningDefault value
COMPONENTcomponent namemidpoint
LOGFILEnative log file namemidpoint.log
ENVenvironment (e.g. prod, dev, test)demo
USERTOKENarbitrary user-supplied tokencurrent midPoint version, e.g. 3.9-SNAPSHOT

According to the specification, semicolons in these fields are eliminated (replaced by underscores). The same is done for spaces in ENV and USERTOKEN.

Repository attachment feature

Repository configuration is done via the following environment variables.

Environment variableMeaningDefault value
REPO_DATABASE_TYPEType of the database. Supported values are mariadbmysqlpostgresqlsqlserveroracle. It is possible to use H2 as well but it is strongly disregarded for production use.mariadb
REPO_JDBC_URLURL of the database.

jdbc:mariadb://$REPO_HOST:$REPO_PORT/$REPO_DATABASE?characterEncoding=utf8

(in the future we might construct default values for this URL depending on the DB type)

REPO_HOSTHost of the database. Used to construct the URL.midpoint-data
REPO_PORTPort of the database. Used to construct the URL.3306
REPO_DATABASESpecific database to connect to. Used to construct the URL.midpoint
REPO_USERUser under which the connection to the database is made.root
REPO_PASSWORD_FILEFile (e.g. holding a docker secret) that contains the password for the db connection./run/secrets/m_database_password.txt (TODO)

Docker secrets

...

Shibboleth integration

...


  • No labels