Running LUY on-premise requires a Docker-ready environment and a relational database. Specific details can be found here: Prerequisites
Reach out to our LUY Support to obtain a ready-made Docker Compose file, complete with sample configuration properties and credentials to pull the image from our repository.
In the aforementioned compose.yml file, configure credentials for your database setup and authentication method in order to start LUY.
Additional settings can be configured using property files, which are mounted within the Docker container by specifying them in the volumes section.
The mapped local files and folders must have write and execute permissions for user 1001, as the Tomcat inside the Docker container runs under this user.
LUY database configuration
Credentials for the used database, along with the corresponding JDBC driver must be specified in the compose.yml file.
See here on how to prepare a database for LUY: Set up database schemes with docker
To connect to the database, a JDBC connector library needs to be specified in the docker compose file:
# Replace [jdbc connector] below with the actual name of your JDBC connector jar file
# Do not change the name on the right, this might break the instance
- ./[jdbc-connector].jar:/usr/local/tomcat/lib/jdbc-connector.jar
Database parameters
Here are sample pre-configurations for the database types LUY supports:
Authentication methods
The provided LUY Docker zip file includes pre-configuration files for each authentication method, available in the config folder. Ensuring that different authentication mechanisms are readily accessible and easily configurable.
LUY parameters
The included LUY property files offer additional configuration options for mailing, secure sessions and more.
Mailing configuration
Notifications over email can be enabled by uncommenting the relevant lines in the property file and configuring the SMPT-Server details.
|
|
Set to true to enable mailing, false to disable |
|
|
Email sender address |
|
|
SMTP server in use |
|
|
Port of the SMTP server |
|
|
Email account login |
|
|
Email account password |
|
|
Set to true to enable SSL |
|
|
Set to true to enable STARTTLS |
Log configuration
The log4j2 configuration is automatically set up and pre-configured by default. Logs will be written outside of the container in the logs folder. However, if adjustments are needed, the log levels can be modified in the log4j2 configuration file. Our LUY support team is available to assist if any modifications are necessary.
Secure session cookie setting
To enable or disable secure session cookie configuration, set the parameter to either true or false.
|
|
Set to true so that the session cookie has the property "secure". The default value is false. |
For details on how to use secure session cookies, please refer to the documentation provided here.
Session timeout setting
To adjust the session timeout for LUY, specify the desired duration for the session timeout.
|
|
Set the LUY session timeout duration to
|
Setting a high session timeout duration may adversely affect performance. In cases where the timeout is excessively long, it could lead to degradation in system performance and, in the worst-case scenario, cause the instance to crash.
Base URL
Must be configured to start LUY!
It is required to set the web address through which LUY is accessible. This is used to link externally shared reports and diagrams in emails and bookmarks.
|
|
Set the used URL for your LUY instance, e.g.
|
Force HTTPS
To enforce the use of HTTPS within the container, use the following parameter:
|
|
When set to false, LUY will accept both unsecured and secured connections. If the value is set to true, LUY will only accept HTTPS connections. |
For general troubleshooting take a look at Docker troubleshooting