Environment Variables

Listed in this page are all environment variables needed to run the interoperability layer Openhim.

Variable NameTypeRelevanceRequiredDefault

OPENHIM_CORE_MEDIATOR_HOSTNAME

String

Hostname of the Openhim mediator

Yes

localhost

OPENHIM_MEDIATOR_API_PORT

Number

Port of the Openhim mediator

Yes

8080

OPENHIM_CORE_INSTANCES

Number

Number of openhim-core instances

No

1

OPENHIM_CONSOLE_INSTANCES

String

Number of openhim-console instances

No

1

OPENHIM_MONGO_URL

String

MongoDB connection string

Yes

mongodb://mongo-1:27017/openhim

OPENHIM_MONGO_ATNAURL

String

???????????

Yes

mongodb://mongo-1:27017/openhim

OPENHIM_CPU_LIMIT

Number

CPU limit usage for openhim-core

No

0

OPENHIM_CPU_RESERVE

Number

Reserverd CPU usage for openhim-core

No

0.05

OPENHIM_MEMORY_LIMIT

String

RAM usage limit for openhim-core

No

3G

OPENHIM_MEMORY_RESERVE

String

Reserved RAM for openhim-core

No

500M

OPENHIM_CONSOLE_CPU_LIMIT

Number

CPU limit usage for openhim-console

No

0

OPENHIM_CONSOLE_CPU_RESERVE

Number

Reserverd CPU usage for openhim-console

No

0.05

OPENHIM_CONSOLE_MEMORY_LIMIT

String

RAM usage limit for openhim-console

No

2G

OPENHIM_CONSOLE_MEMORY_RESERVE

String

Reserved RAM for openhim-console

No

500M

OPENHIM_MONGO_CPU_LIMIT

Number

CPU limit usage for mongo

No

0

OPENHIM_MONGO_CPU_RESERVE

Number

Reserverd CPU usage for mongo

No

0.05

OPENHIM_MONGO_MEMORY_LIMIT

String

RAM usage limit for mongo

No

3G

OPENHIM_MONGO_MEMORY_RESERVE

String

Reserved RAM for mongo

No

500M

MONGO_SET_COUNT

Number

Number of instances of Mongo

YES

1

Last updated