Kong Gateway is a lightweight, fast, and flexible cloud-native API gateway built on a high-performance NGINX engine. It is designed for modern, distributed architectures, providing the architectural freedom to operate across any cloud, platform, or protocol. Whether you're managing microservices or operating in a hybrid and multi-cloud environment, this gateway offers the tools for robust API management.
It simplifies the entire API lifecycle and provides granular control over traffic through several key features:
services:
postgresql:
image: docker.io/bitnami/postgresql:15
ports:
- "5432:5432"
environment:
- POSTGRESQL_USERNAME=kong
- POSTGRESQL_PASSWORD=${KONG_PG_PASSWORD}
- POSTGRESQL_DATABASE=kong
volumes:
- ./postgresql-data:/bitnami/postgresql
kong:
image: docker.io/bitnami/kong:latest
ports:
- "8000:8000"
- "8443:8443"
- "8001:8001"
- "8444:8444"
environment:
- KONG_DATABASE=postgres
- KONG_PG_HOST=postgresql
- KONG_PG_PORT_NUMBER=5432
- KONG_PG_USER=kong
- KONG_PG_PASSWORD=${KONG_PG_PASSWORD}
- KONG_PG_DATABASE=kong
- KONG_PASSWORD=${KONG_ADMIN_PASSWORD}
depends_on:
- postgresqlKONG_PG_PASSWORD=your_secure_postgres_password
KONG_ADMIN_PASSWORD=your_secure_admin_passwordAuto-fetched about 10 hours ago
Auto-fetched about 10 hours ago