tia Core tia® Content Server core has two main places for configuration:
for repository-wide settings
Application wide settings
Application-wide settings are made depending on the choosen type of deployment:
Environmental variables: This method is useful for containerized deployments as environmental variables can be defined in the container configuration.
In
context.xml
file: This is useful for a war-file deployment in a web application server. This file can be found (or if not create it) in the<webappserver>/WEB-INF/<web context>/META-INF
directory.
The parameter names are written in lowercase strings and reflect the hierarchy of application modules. For that reason, the “.” (dot character) is used to separate the levels in the hierarchy.
...
...
...
Repository-wide settings are configured for each repository separately in the repository.cfg
file.
By default,
the file resides in containerized deployments
/application/config/repository.cfg
. It i best practice to use a volume mount in the container configuration:
Code Block |
---|
docker [..] -v <Folder>/repository.cfg:/application/config/repository.cfg [..] |
For war deployments, find the repository.cfg here:
<web server installation>/webapps/<context>/conf
.
The location of the repository.cfg
file can be modified by editing these application-wide settings (here with the default values):
configservice.class=file
configDirectory=config
configFile=repository.cfg
The parameter names in the repository.cfg
file follow a hierarchical scheme. The format of parameters for services therefore follow this format:
<repository>.<service>.[etc]
For example:
...