${PROJECT_ROOT}
- root folder of the project
In order to run TIM you need Postgres database.
You can set one up using Docker from out Third-party-components repository.
In order to change the source code and compile outside Docker you'll need ID-log.
Note! You will not need it to run Docker.
Spring Boot applications support externalized configuration through *.properties files.
Application configuration can be found here: ${PROJECT_ROOT}/src/main/resources/application.properties
.
Note! Both keystore password and alias password should be the same.
Tomcat SSL certificate is generated in Docker with:
keytool -genkeypair -alias tomcat -keyalg RSA -keysize 2048 -keystore "keystore.jks" -validity 3650
- The generated keystore should be configured in the
application.properties
JWT certificate is generated in Docker with:
keytool -genkeypair -alias jwtsign -keyalg RSA -keysize 2048 -keystore "jwtkeystore.jks" -validity 3650
relevant configuration properties:
jwt-integration.signature.key-store=classpath:jwtkeystore.jks
jwt-integration.signature.key-store-password=ppjjpp
jwt-integration.signature.keyStoreType=JKS
jwt-integration.signature.keyAlias=jwtsign
To change keystore password, update Dockerfile and configuration with new password.
Run docker with docker-compose up -d
Note! Some configuration changes may require you to rebuild docker image using docker-compose build
for them to take effect.
See licence here.