All Projects → narate → kong-docker

narate / kong-docker

Licence: other
Kong Docker

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to kong-docker

kong-plugins-canary
The grayscale plug-in based on gateway Kong, called Canary, meets A/B testing and dynamically switches upstream agents
Stars: ✭ 31 (-43.64%)
Mutual labels:  kong
gluu-gateway
Gluu API 🚀 and Web Gateway 🎯
Stars: ✭ 29 (-47.27%)
Mutual labels:  kong
httpie-aws-authv4
AWS Auth v4 (API Gateway, Elasticsearch, etc) plugin for HTTPie
Stars: ✭ 37 (-32.73%)
Mutual labels:  apigateway
laravel-kong
A fluent api wrapper around Kong's API manger designed for Laravel.
Stars: ✭ 20 (-63.64%)
Mutual labels:  kong
OcelotSample
Ocelot使用案例,结合IdentityServer4进行鉴权,结合Consul进行服务治理
Stars: ✭ 58 (+5.45%)
Mutual labels:  apigateway
kong-plugin-zipkin
A Kong plugin for propogating zipkin spans and reporting spans to a zipkin server - this plugin has been moved into https://github.com/Kong/kong, please open issues and PRs in that repo
Stars: ✭ 60 (+9.09%)
Mutual labels:  kong
kong-js-pdk
Kong PDK for Javascript and plugin server
Stars: ✭ 28 (-49.09%)
Mutual labels:  kong
kuma-gui
🐻 A GUI built on Vue.js for use with Kuma.
Stars: ✭ 34 (-38.18%)
Mutual labels:  kong
kong-konga-docker-compose
Docker-compose.yml for kong, konga and postgres using official image.
Stars: ✭ 91 (+65.45%)
Mutual labels:  kong
gozeit
GoZeit
Stars: ✭ 19 (-65.45%)
Mutual labels:  apigateway
micro-service-practice
OpenStack+Docker+RestAPI+OAuth/HMAC+RabbitMQ/ZMQ+OpenResty/HAProxy/Nginx/APIGateway+Bootstrap/AngularJS+Ansible+K8S/Mesos/Marathon构建/探索微服务最佳实践。
Stars: ✭ 25 (-54.55%)
Mutual labels:  apigateway
kong-oidc-auth
OpenID Connect authentication with Kong gateway
Stars: ✭ 41 (-25.45%)
Mutual labels:  kong
mango
mango is a man-page generator for the Go flag, pflag, cobra, coral, and kong packages
Stars: ✭ 191 (+247.27%)
Mutual labels:  kong
honeycomb
本项目用于验证一系列开源项目
Stars: ✭ 13 (-76.36%)
Mutual labels:  apigateway
requests-ip-rotator
A Python library to utilize AWS API Gateway's large IP pool as a proxy to generate pseudo-infinite IPs for web scraping and brute forcing.
Stars: ✭ 323 (+487.27%)
Mutual labels:  apigateway
docker-kong-oidc
Kong + OIDC plugins
Stars: ✭ 83 (+50.91%)
Mutual labels:  kong
lua-resty-timer
Extended timers for OpenResty
Stars: ✭ 20 (-63.64%)
Mutual labels:  kong
alpine-kong
alpine-kong
Stars: ✭ 15 (-72.73%)
Mutual labels:  kong
kong-java-client
Java Client for Kong API Gateway configuration
Stars: ✭ 69 (+25.45%)
Mutual labels:  kong
kubernetes-sidecar-injector
Easy Service Mesh with Kong and Kubernetes
Stars: ✭ 20 (-63.64%)
Mutual labels:  kong

Kong Docker deployment with docker-compose


Kong API Gateway deployment with docker and docker-compose

Status

This deployment is production ready.

Change default value

Copy default.env to .env

cp default.env .env

then edit the .env file to change default values.

Variable name Default value
POSTGRES_VERSION 13-alpine
POSTGRES_USER kong
POSTGRES_PASSWORD kong
POSTGRES_DB kong
KONG_VERSION 2.2
KONG_ADMIN_LISTEN 0.0.0.0:8001
KONG_PROXY_LISTEN 0.0.0.0:8000, 0.0.0.0:8443 ssl http2
KONG_NGINX_HTTP_RESOLVER 8.8.8.8
KONG_PG_HOST kong-database
KONG_PG_USER kong == env POSTGRES_USER
KONG_PG_PASSWORD kong == env POSTGRES_PASSWORD
KONG_PG_DATABASE kong == env POSTGRES_DB

Quick start

time ./quick-start.sh

Deploy Kong step by step

Deploy kong-database

docker-compose up -d kong-database

Run kong-database migrations

docker-compose run --rm kong kong migrations bootstrap --vv

Start Kong

docker-compose up -d kong

Now Kong is running

Start Konga

docker-compose up -d konga

Now Konga is running

Acccess Konga securely

If you deploy Kong on a remote host we can access Konga via ssh tunnel

ssh -L 1337:127.0.0.1:1337 [email protected]

Now you can access konga on localhost

Upgrading Kong version

WARNING : This may take some downtime to start a new Kong version.

  1. Change KONG_VERSION in .env file to a newer version.

    If running kong version 2.2 change to 2.3 (or 2.3.0). Suggested upgrade path

  2. Run migrations upgrade

    docker-compose run --rm kong kong migrations up --vv
    
  3. Confirm finish migrations upgrade

    docker-compose run --rm kong kong migrations finish --vv
    
  4. Start new Kong version

    docker-compose up -d kong
    

Postman Admin API

Kong CE Admin API V2.0

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].