Environment Variables

Listed in this page are all environment variables needed to run hapi-fhir package.

Variable NameTypeRevelanceRequiredDefault

REPMGR_PRIMARY_HOST

String

Service name of the primary replication manager host (PostgreSQL)

No

postgres-1

REPMGR_PARTNER_NODES

String

Service names of the replicas of PostgreSQL

Yes

postgres-1

POSTGRES_REPLICA_SET

String

PostgreSQL replica set (host and port of the replicas)

Yes

postgres-1:5432

HAPI_FHIR_CPU_LIMIT

Number

CPU limit usage for hapi-fhir service

No

0 (unlimited)

HAPI_FHIR_CPU_RESERVE

Number

Reserved CPU usage for hapi-fhir service

No

0.05

HAPI_FHIR_MEMORY_LIMIT

String

RAM limit usage for hapi-fhir service

No

3G

HAPI_FHIR_MEMORY_RESERVE

String

Reserved RAM usage for hapi-fhir service

No

500M

HF_POSTGRES_CPU_LIMIT

Number

CPU limit usage for postgreSQL service

No

0 (unlimited)

HF_POSTGRES_CPU_RESERVE

Number

Reserved CPU usage for postgreSQL service

No

0.05

HF_POSTGRES_MEMORY_LIMIT

String

RAM limit usage for postgreSQL service

No

3G

HF_POSTGRES_MEMORY_RESERVE

String

Reserved RAM usage for hapi-fhir service

No

500M

HAPI_FHIR_INSTANCES

Number

Number of hapi-fhir service replicas

No

1

HF_POSTGRESQL_USERNAME

String

Hapi-fhir PostgreSQL username

Yes

admin

HF_POSTGRESQL_PASSWORD

String

Hapi-fhir PostgreSQL password

Yes

instant101

HF_POSTGRESQL_DATABASE

String

Hapi-fhir PostgreSQL database

No

hapi

REPMGR_PASSWORD

Strign

hapi-fhir PostgreSQL Replication Manager username

Yes

Last updated