All of the following config options needs to be set as Environment Variables.

AR Server Connection

BASEURL

Base URL of the used arrestfulapi

Sample:

BASEURL=http://localhost:8080

AR_SERVER

Remedy Server to connect to.

Sample:

AR_SERVER=pier1

AR_PORT

Remedy Server TCP Port.

Sample:

AR_PORT=1234

AR_USER

Remedy Admin User who is used for all queries.

Sample:

AR_USER=Demo

AR_PASSWORD

Remedy Admin User password.

Sample:

AR_PASSWORD=password

SSO Server Connection

SSO_PUBLIC_KEY

Public Key used to validate JWT tokens.

Sample:

SSO_PUBLIC_KEY=1635rN5xkbubgmuNQCnKKFu7OlAD3QxiDwecg1bJvFhJW9Qj5YhOwGuX5/4sOSCjmdTcKT1mCHL61FJ5mzxtbrct97zVwXmi4F4KDKj2PsW+qxUg0Jz/06iTVjtv2H1yBq1

SSO_AUDIENCE

Audience (Clients) which are allowed to use JWT tokens. This parameter is optional. If it is not set, no check against the JWT token will be performed.

Sample:

SSO_AUDIENCE=gihub, jira

SSO_ISSUER

Issuer (SSO Server) of the JWT tokens.

Sample:

SSO_ISSUER=https://sso.manyos.it/auth/realms/itsmproxy

Cache

CACHETTL_CMDB

Interval in seconds in which before cached CMDB Data is deleted from the cache.

Default: 600

Sample:

CACHETTL_CMDB=2800

CACHETTL_ORGDATA

Interval in seconds in which before cached Org Data like People, Support Groups, Organisations are deleted from the cache.

Default: 3600

Sample:

CACHETTL_ORGDATA=7200

CACHETTL_CHANGE

Interval in seconds in which before cached Change Data is deleted from the cache.

Default: 1

Sample:

CACHETTL_CHANGE=600

CACHETTL_INCIDENT

Interval in seconds in which before cached Incident Data is deleted from the cache.

Default: 1

Sample:

CACHETTL_INCIDENT=600

CACHETTL_WORKORDER

Interval in seconds in which before cached Work Order Data is deleted from the cache.

Default: 1

Sample:

CACHETTL_WORKORDER=600

CACHETTL_TASK

Interval in seconds in which before cached Task Data is deleted from the cache.

Default: 1

Sample:

CACHETTL_TASK=600

Loglevel

Loglevel of the api. Defaults to error

RATE_LIMIT

Defines how many API requests from a single IP are allowed within a 15min timeframe.

Default 10000

Sample:

RATE_LIMIT=600