|
@@ -1,8 +1,8 @@
|
|
# What is Kong?
|
|
# What is Kong?
|
|
|
|
|
|
-Kong is a scalable, open source API Layer (also known as an API Gateway, or API Middleware). Kong was originally built at Mashape to secure, manage and extend over 15,000 Microservices for its API Marketplace, which generates billions of requests per month.
|
|
|
|
|
|
+Kong is a scalable, open source API Layer (also known as an API Gateway, or API Middleware). Kong was originally built by [Kong Inc.](https://konghq.com) (formerly known as Mashape) to secure, manage and extend over 15,000 Microservices for its API Marketplace, which generates billions of requests per month.
|
|
|
|
|
|
-Backed by the battle-tested NGINX with a focus on high performance, Kong was made available as an open-source platform in 2015. Under active development, Kong is now used in production at hundreds of organizations from startups, to large enterprises and government departments including: The New York Times, Expedia, Healthcare.gov, The Guardian, Condè Nast and The University of Auckland.
|
|
|
|
|
|
+Backed by the battle-tested NGINX with a focus on high performance, Kong was made available as an open-source platform in 2015. Under active development, Kong is now used in production at hundreds of organizations from startups, to large enterprises and government departments including: The New York Times, Expedia, Healthcare.gov, The Guardian, Condè Nast, The University of Auckland, Ferrari, and Giphy.
|
|
|
|
|
|
Kong's documentation can be found at [getkong.org/docs](http://getkong.org/docs).
|
|
Kong's documentation can be found at [getkong.org/docs](http://getkong.org/docs).
|
|
|
|
|
|
@@ -64,7 +64,12 @@ $ docker run -d --name kong \
|
|
--link kong-database:kong-database \
|
|
--link kong-database:kong-database \
|
|
-e "KONG_DATABASE=cassandra" \
|
|
-e "KONG_DATABASE=cassandra" \
|
|
-e "KONG_CASSANDRA_CONTACT_POINTS=kong-database" \
|
|
-e "KONG_CASSANDRA_CONTACT_POINTS=kong-database" \
|
|
- -e "KONG_PG_HOST=kong-database" \
|
|
|
|
|
|
+ -e "KONG_PROXY_ACCESS_LOG=/dev/stdout" \
|
|
|
|
+ -e "KONG_ADMIN_ACCESS_LOG=/dev/stdout" \
|
|
|
|
+ -e "KONG_PROXY_ERROR_LOG=/dev/stderr" \
|
|
|
|
+ -e "KONG_ADMIN_ERROR_LOG=/dev/stderr" \
|
|
|
|
+ -e "KONG_ADMIN_LISTEN=0.0.0.0:8001" \
|
|
|
|
+ -e "KONG_ADMIN_LISTEN_SSL=0.0.0.0:8444" \
|
|
-p 8000:8000 \
|
|
-p 8000:8000 \
|
|
-p 8443:8443 \
|
|
-p 8443:8443 \
|
|
-p 8001:8001 \
|
|
-p 8001:8001 \
|
|
@@ -82,14 +87,17 @@ You can override any property of the [Kong configuration file](http://getkong.or
|
|
|
|
|
|
```shell
|
|
```shell
|
|
$ docker run -d --name kong \
|
|
$ docker run -d --name kong \
|
|
|
|
+ -e "KONG_DATABASE=postgres"
|
|
|
|
+ -e "KONG_PG_HOST=kong-database" \
|
|
-e "KONG_LOG_LEVEL=info" \
|
|
-e "KONG_LOG_LEVEL=info" \
|
|
-e "KONG_CUSTOM_PLUGINS=helloworld" \
|
|
-e "KONG_CUSTOM_PLUGINS=helloworld" \
|
|
-e "KONG_PG_HOST=1.1.1.1" \
|
|
-e "KONG_PG_HOST=1.1.1.1" \
|
|
|
|
+ -e "KONG_ADMIN_LISTEN=0.0.0.0:8001" \
|
|
|
|
+ -e "KONG_ADMIN_LISTEN_SSL=0.0.0.0:8444" \
|
|
-p 8000:8000 \
|
|
-p 8000:8000 \
|
|
-p 8443:8443 \
|
|
-p 8443:8443 \
|
|
-p 8001:8001 \
|
|
-p 8001:8001 \
|
|
- -p 7946:7946 \
|
|
|
|
- -p 7946:7946/udp \
|
|
|
|
|
|
+ -p 8444:8444 \
|
|
%%IMAGE%%
|
|
%%IMAGE%%
|
|
```
|
|
```
|
|
|
|
|