Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languageyaml
tia:
  destinations:
    saphttp:
      host: contentservevr.kgs.local
      port: 8090

  instances:
    default:
      watermark:
        text: "copy"
      sap:
        url: "https://sapServer:8400/tia/tia_viewer?sap-client=250"
        username: secuser
        password: s3cret
      mimetypes:
        - application/pdf
    HR:
      downloadDocument: false
    FI:
      text: "confidential"    
    FO:
      printDocumentNote: false    
      mimetypes.0: application/pdf

load the viewer.yaml in the container:

Code Block
languageyaml
version: '3'
services:

  tiaviewer:
    container_name: tiaviewer
    image: images.docker.kgs-cloud.de/tia-viewer/archivelink-oidc:latest
    ports:
      - "8080:8080"
    volumes:
      ./viewer.yml: /app/config/viewer.yml 
    environment:
      spring.config.additional-location: /app/config/viewer.yml