All Projects → dojot → kong

dojot / kong

Licence: Apache-2.0 License
Kong docker image that easily installs plugins from source code.

Programming Languages

lua
6591 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to kong

Kong Docs Cn
微服务 Api 网关 Kong 最新文档中文版
Stars: ✭ 371 (+1755%)
Mutual labels:  api-gateway, kong
kong-oidc-auth
OpenID Connect authentication with Kong gateway
Stars: ✭ 41 (+105%)
Mutual labels:  api-gateway, kong
Kong
🦍 The Cloud-Native API Gateway
Stars: ✭ 30,838 (+154090%)
Mutual labels:  api-gateway, kong
kong-scalable-rate-limiter
Kong plugin for Rate Limiting at high throughputs.
Stars: ✭ 19 (-5%)
Mutual labels:  api-gateway, kong
kong-map
Kongmap is a free visualization tool which allows you to view and edit configurations of your Kong API Gateway Clusters, including Routes, Services, and Plugins/Policies. The tool is being offered for installation via Docker and Kubernetes at this time.
Stars: ✭ 60 (+200%)
Mutual labels:  api-gateway, kong
kong-plugin-url-rewrite
Kong API Gateway plugin for url-rewrite purposes
Stars: ✭ 43 (+115%)
Mutual labels:  api-gateway, kong
kong-plugin-api-response-merger
Kong API response merger plugin
Stars: ✭ 14 (-30%)
Mutual labels:  api-gateway, kong
gluu-gateway
Gluu API 🚀 and Web Gateway 🎯
Stars: ✭ 29 (+45%)
Mutual labels:  api-gateway, kong
kong-ui
UI for KONG API Gateway
Stars: ✭ 20 (+0%)
Mutual labels:  api-gateway, kong
kong-java-client
Java Client for Kong API Gateway configuration
Stars: ✭ 69 (+245%)
Mutual labels:  api-gateway, kong
django-api-bouncer
Simple Django app to provide API Gateways for micro-services
Stars: ✭ 18 (-10%)
Mutual labels:  api-gateway, kong
okta-api-center
Get up and running quickly with Okta's OAuth as a Service and your favorite API Gateway.
Stars: ✭ 58 (+190%)
Mutual labels:  api-gateway, kong
kong-upstream-jwt
A plugin for Kong which adds a signed JWT to HTTP Headers to backend requests
Stars: ✭ 40 (+100%)
Mutual labels:  api-gateway, kong
cv4pve-api-dotnet
Proxmox VE Client API .Net C#
Stars: ✭ 25 (+25%)
Mutual labels:  api-gateway
SSCore
dotnet core version of SuperSocket
Stars: ✭ 55 (+175%)
Mutual labels:  core
towards5gs-helm
Open-source project providing Helm charts for deploying Free5GC and UERANSIM on a Kubernetes cluster
Stars: ✭ 53 (+165%)
Mutual labels:  core
aws lambda ftp function
AWS Lambda Function to connect to FTP, download files and save them to S3 bucket
Stars: ✭ 55 (+175%)
Mutual labels:  api-gateway
OfficeDocs-OfficeUpdates
Office Updates documentation feedback
Stars: ✭ 12 (-40%)
Mutual labels:  core
ASP.NET-Core-2-MVC-CRUD-datatables-jQuery-Plugin
Asp.Net Example implementation of datatables.net using Asp.Net Core 2 Mvc CRUD datatables jQuery Plugin
Stars: ✭ 25 (+25%)
Mutual labels:  core
MFCoin
MFCoin source tree
Stars: ✭ 36 (+80%)
Mutual labels:  core

kong

Kong with custom plugin

The Docker image generated by the Dockerfile contains a kong custom plugin that extract roles from a JWT token and make a request for a Policy Decision Point (PDP)

An example of how to associate a previously created service to the plugin:

kong="http://kong:8001"
service_name="service_example"
url_pdp="http://auth:5000/pdp"

curl -X POST \
--url ${kong}/services/${service_name}/plugins/ \
--data "name=pepkong" \
--data "config.pdpUrl=${url_pdp}"

The configuration below shows how the image can be used with docker-compose:

version: '3.7'
services:

  db:
    image: dojot/postgres:9.5.21-alpine
    environment:
      POSTGRES_DB: kong
      POSTGRES_USER: kong
      POSTGRES_PASSWORD: kong
    healthcheck:
      test: ["CMD", "pg_isready", "-U", "kong"]
      interval: 10s
      timeout: 5s
      retries: 5
    restart: on-failure

  kong:
      image:  kong_dojot
      user: "kong"
      depends_on:
        - db
      environment:
        KONG_ADMIN_ACCESS_LOG: /dev/stdout
        KONG_ADMIN_ERROR_LOG: /dev/stderr
        KONG_ADMIN_LISTEN: '0.0.0.0:8001'
        KONG_CASSANDRA_CONTACT_POINTS: postgres
        KONG_DATABASE: postgres
        KONG_PG_HOST: db
        KONG_PG_USER: kong
        KONG_PG_DATABASE: kong
        KONG_PG_PASSWORD: kong
        KONG_PROXY_ACCESS_LOG: /dev/stdout
        KONG_PROXY_ERROR_LOG: /dev/stderr
        KONG_LOG_LEVEL: info
      ports:
        - "8000:8000/tcp"
        - "127.0.0.1:8001:8001/tcp"
        - "8443:8443/tcp"
        - "127.0.0.1:8444:8444/tcp"
      healthcheck:
        test: ["CMD", "kong", "health"]
        interval: 10s
        timeout: 10s
        retries: 10
      restart: on-failure
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].