sdk:
  rfid:
    chipVerification:
      enabled: true
#    PKD_PA: "rfid_pkd" # relative path to the directory with PKD certificates

  mdl:
    sessionVerification:
      enabled: true

service:
  webServer:
    port: 8080
    workers: 1
    timeout: 30

    demoApp:
      enabled: true

    cors:
      origins: "*"
      headers: "Content-Type"
      methods: "POST,PUT,GET,DELETE,PATCH,HEAD"

    ssl:
      enabled: false
      cert: certs/tls.crt
      key: certs/tls.key
      tlsVersion: 1.2

    logging:
      level: INFO
      formatter: text

      access:
        console: true
        path: logs/docreader-access.log

      app:
        console: true
        path: logs/docreader-app.log

  processing:
    enabled: true
    results:
      location:
        bucket: docreader-processing
        container: docreader-processing
        folder: docreader-processing
        prefix: ""

  sessionApi:
    enabled: true
    saveRequest: true
    transactions:
      location:
        bucket: "docreader-transactions"
        container: "docreader-transactions"
        folder: "docreader-transactions"
        prefix: ""

  storage:
    type: s3

    s3:
      accessKey: minioadmin
      accessSecret: minioadmin
      endpointUrl: http://s3-storage:9000
      region: eu-central-1
      secure: true

  houseKeeper:
    enabled: true
    beatCadence: 10
    keepFor: 14400
    sessionApi:
      enabled: true
      keepFor: 31536000

  database:
    connectionString: postgresql://regula:Regulapasswd#1@db-postgres:5432/regula_docreader_db
#    dynamodb:
#      region: eu-central-1
#      accessKey: exampleKey
#      accessSecret: example#1Secret
#      tablePrefix: regula-docreader