# 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/](https://hub.docker.com/r/soffid/iam-console/) ## Prerequisites - Docker - 8GB RAM - > 10GB disk space (50GB recomended) - [Supported database installed](https://bookstack.soffid.com/books/installation/page/initialize-database-using-docker) ## 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 jdbc:oracle:thin:@HOST:PORT:SID jdbc:oracle:thin:@//HOST:PORT/SERVICENAME |
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 |
SOFFID\_TRUSTED\_SCRIPTS | (optional) Allows you to use insecure classes. Available since console version 3.5.6 | true false |
HIDE\_MENU | (optional) Allows you to hide the Console menu options. Available since console version 3.5.6 | soffid.admin You can choose the proper option from the Console.yaml file. |
AUTH\_METHODS | (optional) Allows to force the authentication mechanisms. This configuration overrides the one configured in the authentication option of the Soffid console. Available since console version 3.5.6 | Options SAML PASSWORD SAML PASSWORD |
EXTERNAL\_URL | (optional) Allows to override host name configuration when there are two Consoles. Available since console version 3.5.9.5 | https://soffid.lab.internal.com |
Variable | Description | Example |
DBPOOL\_MIN\_IDLE | The minimum number of connections should be kept in the pool at all times. | 1 or 2 |
DBPOOL\_MAX\_IDLE | The maximum number of connections should be kept in the pool at all times. | between 10 and 15 |
DBPOOL\_INITIAL | The connection number 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 |
Volume | Usage |
/opt/soffid/iam-console-3/logs | Console log files `/opt/soffid/iam-console-3/logs` |
/opt/soffid/iam-console-3/index | Text search engine index files. It can be erased at any time. The engine will regenerate the search engine. `/opt/soffid/iam-console-3/index/` |
/opt/soffid/iam-console-3/conf | Configuration files, including server.xml and tomee.xml files `/opt/soffid/iam-console-3/conf` |
When the console is created, the password for the user *admin* will be *changeit* and it will be valid for 24 hours.
Now you can connect the Soffid Console [http://localhost:8080/soffid](http://localhost:8080/soffid)/The first thing you must do is to change the admin user password.
Next Step: [Installing Sync server](https://bookstack.soffid.com/books/installation/page/installing-sync-server-b3e "Installing Sync server")