Configuration & Logging¶
Configuration Location in Docker¶
The relative path to the configurations in Docker is
The directory contains:
backend.properties. System parameters (“System Parameters” section on UI).
templates. Directory of the email templates.
logback.xml. Logging options.
Unidata uses a single configuration file called backend.properties (name predefined).
You can see an actual example in the project
If you install Unidata manually, the location of the file can be specified through the JVM flags
customer.json file to configure the user interface settings. It will appear as path:
/usr/share/nginx/html/customer.json when you start the application in docker. If you change the file in the container, you may lose the configuration after the next restart.
To store changes:
If you run the application from the unidata-platform-deploy repo, place the file with the changes (with a different name, for example: “my_customer.json”) in the
json_configsfolder, and then restart the application using docker-compose with the command:
-f docker-compose.yml -f docker-compose-json-generate.yaml up -d
If you are making the UI locally, you can simply change the
customer.jsonfile before building the docker code or image (in this case, change the
customer.jsonfile in the “Build” folder).
Unidata uses slf4j and logback classic for logging.
If you install Unidata manually, you can use
-Dhazelcast.logging.type=slf4j to inform Hazelcast about the logging subsystem.