To setup custom logos on your IriusRisk application the minimum software version is 1.6.
IriusRisk allows the customisation of the two main logos. The two logos are in the following screens:
These logos are of sizes of 440px x 265px for the log in screen and 140px x 25px for the one at the top fo the menu.
Native Tomcat installations
For native Tomcat installations, the steps to customize your logos are as follows:
- Copy your logos to the file system. Let's assume they are on /logos/logo.png and /logos/logo.small.png for this example.
- Make sure the user that runs the Tomcat application has read permissions on them.
- Edit the $(tomcat_base_dir)/conf/catalina.properties file.
- Add the following lines at the end of the file:
For docker-based deployments, the logos must be on the base system, let's say they are also on /logos/logo.png and /logos/logo.small.png
To make use of those logos you need to modify the docker-compose.yml base file to read as follows:
[...] tomcat8: # grails.env is passed as grails_env as the dot is not allowed for variable names on sh environment: [...] # Set the following variables to set up custom logos. # Recommended sizes are: # Large logo -> 440px x 265px # Small logo -> 140px x 25px - CATALINA_PROPERTIES=logo.url=/tmp/logo/logo.png;logo.small.url=/tmp/logo/logo.small.png volumes: - ./logo:/tmp/logo [...]
In this code snippet, only the modified lines are shown.
In both cases, the variables logo.url and logo.small.url accept a full URL as a source of your logo. If you have your logos on http://example.com/logo.png and http://example.com/logo.small.png you could also use the follwing setup: