All Projects → mvanholsteijn → docker-service-registrator-kong

mvanholsteijn / docker-service-registrator-kong

Licence: Apache-2.0 License
A docker service registrator for the Kong API Gateway

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects
Makefile
30231 projects

Projects that are alternatives of or similar to docker-service-registrator-kong

Pull
🤖 Keep your forks up-to-date via automated PRs
Stars: ✭ 3,364 (+23928.57%)
Mutual labels:  sync, upstream
Deck
decK: Configuration management and drift detection for Kong
Stars: ✭ 211 (+1407.14%)
Mutual labels:  sync, kong
atom-package-sync
Synchronize your atom packages and settings easily
Stars: ✭ 22 (+57.14%)
Mutual labels:  sync
procrastinate
PostgreSQL-based Task Queue for Python
Stars: ✭ 322 (+2200%)
Mutual labels:  sync
tsdav
WebDAV, CALDAV, and CARDDAV client for Nodejs and the Browser
Stars: ✭ 33 (+135.71%)
Mutual labels:  sync
kong-config-manager
Yet another Kong CLI tool who can dump live configurations and apply your own backup configurations. In other words, configuration as code (CAC).
Stars: ✭ 15 (+7.14%)
Mutual labels:  kong
front-end-engineering
前端工程化
Stars: ✭ 33 (+135.71%)
Mutual labels:  automatic
TogetherStream
A social and synchronized streaming experience
Stars: ✭ 16 (+14.29%)
Mutual labels:  sync
kong
Kong docker image that easily installs plugins from source code.
Stars: ✭ 20 (+42.86%)
Mutual labels:  kong
auto-translate-converter
a cli work for part of i18n project chain
Stars: ✭ 19 (+35.71%)
Mutual labels:  automatic
kong-upstream-jwt
A plugin for Kong which adds a signed JWT to HTTP Headers to backend requests
Stars: ✭ 40 (+185.71%)
Mutual labels:  kong
datatoolbox
🎓 Data Toolbox Training
Stars: ✭ 18 (+28.57%)
Mutual labels:  targets
repl.deploy
Automatically deploy from GitHub to Replit, lightning fast ⚡️
Stars: ✭ 63 (+350%)
Mutual labels:  automatic
tarantool rs
Sync/Async tarantool database connector. WORK IN PROGRESS. DON'T SHARE THIS REPO
Stars: ✭ 14 (+0%)
Mutual labels:  sync
WindowsFirewallRuleset
Windows firewall PowerShell scripts
Stars: ✭ 94 (+571.43%)
Mutual labels:  automatic
Tweet2Telegram
❤️ Liked Tweets to Telegram
Stars: ✭ 83 (+492.86%)
Mutual labels:  sync
kong-plugin-http-anti-replay-attack
http-anti-replay-attack [防重放攻击]
Stars: ✭ 20 (+42.86%)
Mutual labels:  kong
docker base images
Vlad's Base Images for Docker
Stars: ✭ 61 (+335.71%)
Mutual labels:  sync
Markdown-for-Documentation
Markdown is a HTML compatible language used for Documentation.
Stars: ✭ 14 (+0%)
Mutual labels:  upstream
weibo invalid delete
一键清除失效微博转发/微博收藏爬虫 (Auto delete invalid Weibo Favorites)
Stars: ✭ 16 (+14.29%)
Mutual labels:  automatic

Docker service registrator for Kong

Manages the upstream target registration in Kong for Docker containers running on this host.

When a container is started, the registrator will create a upstream target for each exposed port of a container which has a matching SERVICE_<exposed-port>_NAME environment variable. If the container exposes a single port, it is sufficient to have a SERVICE_NAME environment variable.

In addition, if the container has an environment variable named KONG_<exposed_port>_API, containing a json string with a Kong API definition it is registered too. If the name and the upstream_url are missing, it will set using the SERVICE_NAME value. If the container exposes a single port, it is sufficient to have a KONG_API variable.

The registrator has three commands: remove-all, sync and daemon.

Daemon mode

When the registrator starts in daemon mode it will first do a full sync, to ensure that the upstream targets are actually reflecting docker instances running on this host.

After that, it will process Docker container start and die events to update the upstreams.

Sync

You can run a standalone sync command to ensure that the upstream targets are actually reflecting docker instances running on this host.

Remove all

When the host is shutdown, it is wise to run the remove-all command to upstream targets pointing to this host.

remove-all  - remove all upstream targets pointing to this host, but run on host shutdown
sync        - synchronise the upstream targets with the running containers 
daemon      - continuously update the upstream targets by subscribing to the Docker event stream

you must specify, either the dns name or the Route53 hosted zone id:

  --dns-name TEXT        to append to the service name to create an upstream name, defaults to '.docker.internal'
  --admin_url TEXT       pointing to the Kong admin API, defaults to http://localhost:8001
  --hostname HOSTNAME    to use in targets.
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].