...
tia Viewer Core parameter names are ordered hierarchically: Except of top-level settings, each setting has one direct superior, also called parent. A .
(dot) separates parent name from parameter name.
When configuring using environment variables, a prefix string provides the exact location in the hierarchy from top-level to setting.
When configuring using YAML file, the setting must be placed below its parent with other siblings, each with an line intend increased by the same number of space characters, while no shorter intend may be appear between the setting and its parent.
Configuration using environment variables
As environment variables do not have any hierarchical order, the tia Viewer parameters must be qualified completely:
...
Code Block |
---|
version: '3' services: tiaviewer: container_name: tiaviewer image: images.docker.kgs-cloud.de/tia-viewer/archivelink-oidc:latest ports: - "8080:8080" environment: TIA_DESTINATIONS_SAPHTTP_HOST: contentservevr.kgs.local TIA_DESTINATIONS_SAPHTTP_PORT: 8090 TIA_INSTANCES_DEFAULT_SAP_URL: https://sapServer:50000/tia/tia_viewer?sap-client=250 TIA_INSTANCES_DEFAULT_SAP_USERNAME: secuser TIA_INSTANCES_DEFAULT_SAP_PASSWORD: s3cret volumes: - ./viewerlicense.json:/application/config/license/viewerlicense.json |
Configuration using YAML file
YAML defines a text-file-format (typical file extensions used are .yaml
and .yml
) for configuration parameters with a hierarchical order by line intend. There is always one parameter setting per row only.
...