Skip to content

Kong API Gateway

Kong is an open-source API gateway built on NGINX. In the Data Source Node, it terminates TLS, routes requests, and applies authentication plugins before forwarding traffic to HAPI FHIR.

The Compose stack stores Kong configuration in PostgreSQL. Setup scripts create two FHIR routes: one uses Basic Auth and the other uses API key authentication. Kong also supports plugins for traffic control and observability, though the scripts in this repository configure only authentication and CORS.

Kong can run across multiple nodes, but the supplied Compose file starts one gateway container.

The Data Source Node installs Kong through Docker Compose. For other environments, see the Kong Gateway installation guide and official Kong documentation.