📦
OpenHIM Platform
  • OpenHIM Platform
  • Getting Started
  • 📜Recipes
    • Central Data Repository with Data Warehousing
    • Central Data repository (no reporting)
    • Master Patient Index
  • 📦Packages
    • Interoperability Layer Openhim
      • Local Development
      • Environment Variables
    • Monitoring
      • Environment Variables
    • Kafka Mapper Consumer
      • Local Development
      • Environment Variables
    • Data Mapper Logstash
      • Local Development
      • Environment Variables
    • Job Scheduler Ofelia
      • Local Development
      • Environment Variables
    • Analytics Datastore - Clickhouse
      • Local Development
      • Environment Variables
    • Analytics Datastore - Elasticsearch
      • Local Development
      • Running in Clustered Mode
      • Environment Variables
    • Client Registry - SanteMPI
      • Environment Variables
    • Dashboard Visualiser - Jsreport
      • Local Development
      • Environment Variables
    • Dashboard Visualiser - Kibana
      • Local Development
      • Environment Variables
    • Dashboard Visualiser - Superset
      • Local Development
      • Environment Variables
    • Message Bus - Kafka
      • Local Development
      • Environment Variables
    • FHIR Datastore HAPI FHIR
      • Local Development
      • Environment Variables
    • Kafka Unbundler Consumer
      • Environment Variables
    • Message Bus Helper Hapi Proxy
      • Environment Variables
    • Reverse Proxy Nginx
      • Local Development
      • Environment Variables
    • OpenFn
      • Environment Variables
    • Reverse Proxy Traefik
      • Environment Variables
  • 🗒️Cheat sheet
  • Architecture
  • Guides
    • Provisioning remote servers
      • Ansible
      • Terraform
    • Resource Allocations
    • Disaster Recovery Process
      • Elasticsearch
      • HAPI FHIR Data
      • OpenHIM Data
    • Development
      • Config Importing
    • Performance Testing
  • Community
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
Export as PDF
  1. Packages
  2. FHIR Datastore HAPI FHIR

Environment Variables

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

Variable Name
Type
Revelance
Required
Default

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

PreviousLocal DevelopmentNextKafka Unbundler Consumer

Last updated 2 years ago

Was this helpful?

📦