Configuration

This page is currently only available in English

Configuration file

The configuration file for identrix is called config.yml and is located in the root directory of the project.

# config.yml
system:
  loglevel: 5
  debug: false
  tofile: false
  filename: ./logs/log.txt
  sourceinfo: false
mrz:
  autocleanparts: true
  usecorrector: false
  ignorefillerchecksnonzero: true
  allowexperimentalparsers: false
  addextendedinfo: true
  addchecksinfo: true
  agetop: 18
  agebottom: 16
  translateids: false
  outputformat: TEXT
serial:
  preferredportname:
  preferredvidpid:
  properties:
    baudrate: 115200
    databits: 8
    stopbits: 0
    parity: 2
    timeout: 0s
iomodules:
  enabled: false
output:
  enabled: false
  outputitems:
    # - name: File
    #   format: JSON
    #   config:
    #     file_name: <time>-<doccode>-<docnum>-<issuer>
    #     file_path: ./outputsamples
    # - name: URL
    #   format: JSON
    #   config:
    #     url: https://mydomain.com/myinforeceiver
server:
  enabled: true
  port: 8080
  rootfolder: ./www
  autoopen: true
  wscors:
    enabled: false
    trustedorigins:
      - http://localhost:8080
  httpcors:
    enabled: false
    trustedorigins:
      - localhost
      - 127.0.0.1
nfc:
  enabled: true
  inittimeout: 500
  dumpraw: false
  dumprawfolder: ./rawnfcfiles
  readphoto: true
  apdulog: false
  apdulogfile: apdu.log.json
  loadspecimencsca: true
  reading:
    smartagemode: false
    accessmode: secure
  images:
    convertjp2: true
    quality: 75
  output:
    simpledatalist: true
    simpleimagelist: true
    fullinfo: false
    parsedlist: true
  skipparts:
    skippa: false
    skipaa: false
    skipca: false
    skippace: false
customfields:
#  scannerid: 0123456789
#  location: Harderwijk
#  country: NLD