Public Repository

Last pushed: 2 months ago
Short Description
KrakenD - Ultra-High performance API Gateway with middlewares. Fastest API gateway in the market
Full Description

This is the official Docker container for KrakenD.

KrakenD is an open source API Gateway that aggregates and manipulates multiple data sources coming from your microservices to provide the exact API your end-user products need while offering awesome performance.

The KrakenD docker is based on Alpine and offers a small image size.

Run it!

Share your configuration as a volume (mapped to /etc/krakend). Inside the volume you need at least the krakend.json file which contains the endpoint definition of you application.

Generate your krakend.json here or use the sample file

Examples

The following are several examples of running krakend. By default the command run is executed, but you can pass
other commands and flags at the end of the run command.

The configuration files are taken from current directory ($PWD). It is expected to find at least the file krakend.json.

Pull the image and run KrakenD (default parameters):

docker pull devopsfaith/krakend
docker run -p 8080:8080 -v $PWD:/etc/krakend/ devopsfaith/krakend

Run with the debug enabled:

docker run -p 8080:8080 -v $PWD:/etc/krakend/ devopsfaith/krakend run -d

Check the syntax of the configuration file

docker run -it -p 8080:8080 -v $PWD:/etc/krakend/ devopsfaith/krakend check --config krakend.json

Show the help:

docker run -it -p 8080:8080 -v $PWD:/etc/krakend/ devopsfaith/krakend --help

Enjoy KrakenD!

And any questions please let us know via Github issue

Docker Pull Command
Owner
devopsfaith