Comments (7)
I am also struggling to enable kong manager on the kong gateway. It seems kong manager is available only on the kong enterprise free mode and not in the kong OSS version. Hence we need to use enterprise kong images
Below are the docker commands to start the database and kong gateway
docker network create kong-quickstart-net
docker run -d --name kong-quickstart-database --network=kong-quickstart-net -e POSTGRES_DB=kong -e POSTGRES_USER=kong -e POSTGRES_PASSWORD=kong postgres:14.4-bullseye
docker run --rm --network=kong-quickstart-net -e KONG_DATABASE=postgres --env-file kong-quickstart.env kong/kong-gateway:3.0.0.0-alpine kong migrations bootstrap
docker run -d --name kong-quickstart-gateway --network=kong-quickstart-net --env-file kong-quickstart.env -p 8000:8000 -p 8001:8001 -p 8002:8002 -p 8003:8003 -p 8004:8004 kong/kong-gateway:3.0.0.0-alpine
Below is the environment file
############################################################################## #
The following env file was used during docker run to set the container # environment for Kong Gateway ##############################################################################
KONG_DATABASE=postgres
KONG_PG_HOST=kong-quickstart-database
KONG_PG_USER=kong
KONG_PG_PASSWORD=kong
KONG_ADMIN_LISTEN=0.0.0.0:8001, 0.0.0.0:8444 ssl KONG_PROXY_ACCESS_LOG=/dev/stdout KONG_ADMIN_ACCESS_LOG=/dev/stdout KONG_PROXY_ERROR_LOG=/dev/stderr KONG_ADMIN_ERROR_LOG=/dev/stderr
Accessing http://localhost:8002 shows up the kong manager.
from docker-kong.
Hey @kameshbrao,
Kong Manager is not available in our OSS image, only in Kong Gateway "Free Mode" -- which you get by running the enterprise image without a license. You can learn more about available modes here: https://docs.konghq.com/gateway/latest/#packages-and-modes.
I am closing this issue for now since this is not a bug.
Cheers!
from docker-kong.
Me too..
I added
admin_gui_url = http://localhost:8002
only and tested. and with above code
admin_listen = 0.0.0.0:8001 reuse port backlog=16384, 0.0.0.0:8444 http2 ssl reuse port backlog=16384
I try open 8002 on docker compose file e not resolved..
v2.8.1
from docker-kong.
Correct, opening 8002 port in docker file has no impact. Can someone help on this topic?
from docker-kong.
But doesnt enterprise images need a license?
from docker-kong.
Note:
docker pull kong
-> this one points to our OSS official image
docker pull kong/kong-gateway
-> this one (as used by @shahamit above) points to the Kong Gateway image, which can be started in Free Mode
from docker-kong.
@gszr - I have a question related to this docker based deployment - how do we add multiple kong instances such that they act as one cluster? If one of the kong instances crashes, another kong instance is able to serve the requests. Ultimately not making kong as a single point of failure. I assume that's possible to do when running kong in free mode.
Thanks.
from docker-kong.
Related Issues (20)
- kong_1 | standard_init_linux.go:228: exec user process caused: operation not permitted HOT 1
- plugin is enabled but not installed HOT 2
- Image missing for arm64 HOT 3
- kong migrations bootstrap Error HOT 4
- Running kong/kong-gateway:3.2-alpine failing with kong/model/analytics/payload.proto: No such file or directory HOT 3
- Is Kong is Supported on RISV machine HOT 1
- Docker Install link is wrong HOT 1
- 3.3.0 alpine image missing arm architecture HOT 1
- Kong Go-plugins dir is not created and users of the image must create it before running this image HOT 1
- kong 3.4.0 missing architecture arm64 for debian bullseye HOT 1
- Ubuntu image is missing useradd HOT 1
- [Http2]: docker compose can not enable http2 HOT 2
- Customize broken since luarocks-admin not on path
- Error when run Kong database with docker container
- Problem with custom plugins
- Permission error in portainer logs after starting HOT 3
- How to configure SSL to https to access 8443 HOT 1
- Add Headers in Docker Kong
- Image kong/kong-gateway:3.5.0.3-amazonlinux-2023 does not allow write permissions for kong user HOT 6
- kong initialize postgres error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-kong.