Info |
---|
Available from Core of tia Version 2.1.0 |
KGS internal (DEV-MAIN/MAIN/RELEASE_TAG):
requires account on https://nexus.kgs-software.com/
Public Access (RELEASE TAG) :
requires account on https://images.docker.kgs-cloud.de
Login to kgs harbour with:
docker login https://images.docker.kgs-cloud.de
docker will prompt for user and password.
Start with docker:
Prepare repository.cfg to map it to directory /application/config
View file | ||
---|---|---|
|
place repository.cfg to in a folder
replace <Folder> with the Folderpath that contains the repository.cfg
replace <Version> with a available version on nexus
Code Block |
---|
docker run -p 8080:8080 -v data_volume:/temp/ -v <Folder>/repository.cfg:/application/config/repository.cfg -d docker.kgs-software.com/tia/core/<product>:<Version> |
Example:
Code Block |
---|
docker run -p 8080:8080 -v data_volume:/temp/ -v C:/cmis/repository.cfg:/application/config/repository.cfg -d docker.kgs-software.com/tia/core/cmis:2.4.0 |
Configuration:
Docker command:
This parameter -v data_volume:/temp/
is only required when data are stored in /temp/. When you plan to use other storages (like S3) you no not need these parameter. For different location modify repository.cfg and the command accordingly.
Environmane Variables | |
---|---|
| Directory where repository.cfg is expected. Default is “/application/config/“ |
| Log Level for core of tia. Default is “Debug”. Recommended for Production is “WARN” or “ERROR”. |
| Point to a log4j2 configuration to overwrite the default one |
| Set Password for Status Webapp with bcrypt. (Password “admin” for testing: $2a$10$5E1KpGIKSq6xuWmGf92bheB17V0l4fEMnVmYPqhWiazKddcx1TF/e) |
| set a profile for the application |
You can overwrite these with -e <key>=value
FAQ
Expand | ||||
---|---|---|---|---|
| ||||
Map it to the container with And set environment variable for the container |
Expand | ||
---|---|---|
| ||
Both is available on Nexus/Harbor |
Expand | ||
---|---|---|
| ||
In the example repository.cfg the files are stored in /temp/meta. Make sure you map these data in a volume so that multiple started images can access the same data |
Expand | ||
---|---|---|
| ||
In the example repository.cfg is shared when mutiple container use the same repository.cfg. Change one and restart container so that new repository.cfg works for both. |
Expand | ||
---|---|---|
| ||
Tomcat is now embedded and maintained by kgs. |
Expand | ||
---|---|---|
| ||
Pull the new image Find the ID of the running container Stop Container Start Container |
Expand | ||
---|---|---|
| ||
|