Installing IAM Console
Guide to install IAM Console using Docker.
There is a public docker image at docker hub: https://hub.docker.com/r/soffid/iam-console/
Prerequisites
- Docker
- 8GB RAM
- > 10GB disk space
- Supported database installed
Video Tutorial
Installation
To configure IAM console, the following environment variables can be set:
Variable | Description | Example |
DB_URL | JDBC URL | jdbc:mariadb://dbcontainer/soffid |
DB_USER | Database user | Soffid |
DB_PASSWORD | Database password | 5uper5ecret |
JAVA_OPT | Java virtual machine options | -Xmx4096m |
SECURE | (optional) Enables the Java Security Manager | true |
Additional parameters to configure the database connections. Allows you to establish the min and the max of database connections:
Variable | Description | Example |
DBPOOL_MIN_IDLE | 1 or 2 |
|
DBPOOL_MAX_IDLE | between 10 and 15 |
|
DBPOOL_INITIAL | Connections number that will be established when the connection pool is started. |
3 or 4 |
DBPOOL_MAX | The maximum number of active connections that can be allocated. If no value is indicated, the default value is 30. The transaction fails if the maximum connections are reached within 30 seconds and no connection is released. |
25 |
The following volumes are defined by default:
Volume | Usage |
/opt/soffid/iam-console-3/logs | Console log files |
/opt/soffid/iam-console-3/docs | Text search engine index files. It can be erased at any time. The engine will regenerate the search engine |
/opt/soffid/iam-console-3/conf | Configuration files, including server.xml and tomee.xml files |
Here you have a sample command to start a docker container running IAM console, in this case the docker will be in a docker network, previously created. MariaDB docker is at the same network.
docker run -d \
-e DB_URL=jdbc:mysql://mariadb-service/soffid \
-e DB_USER=soffid \
-e DB_PASSWORD=soffid \
--name=iam-console \
--publish=8080:8080 \
--network=soffidnet \
soffid/iam-console
To see console log files, execute:
docker logs -f iam-console
Now you can connect IAM Console http://localhost:8080/soffid The first thing you must do is to change the admin user password. When the console is created, the password for user admin will be valid for 24 hours.
Next Step: Installing Sync server