Versions Compared

Key

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

Specifies the node configuration in server farm. Generally it contains the application host connection and other network related configuration settings. Agent configuration uses layered configuration in following order;

  • <installdir>/appsettings.json
  • <installdir>/Configuration/appsettings.json
  • Environment variables
  • Command line arguments

Default configuration is stored in <installdir>/appsettings.json file and it is not recommended to change. Any change should be specified in <installdir>/Configuration/appsettings.json or other layers.

Environment Variables

Any environment variable that starts with "AK_" prefix overrides the configuration entries in appsettings.json file. For example host configuration connection can be specified as environment variable;

Code Block
AK_DbProvider = "Postgres"
AK_DbConnStr = "Host=myserver;Database=emakin;Username=emakin;Password=mypassword;"

Command Line Arguments

Any command line argument to agent executable overrides the configuration entries.

Code Block
.\AltiKare.Workflow.Agent.exe DBConnStr="Host=myserver;Database=emakin;Username=emakin;Password=mypassword;"