If you’re running Kong Gateway with a database (either in traditional or hybrid mode), you can enable Kong Gateway’s graphical user interface (GUI), Kong Manager.
Set the KONG_ADMIN_GUI_PATH
and KONG_ADMIN_GUI_URL
properties in the (kong.conf
) configuration file to the DNS or IP address of your system, then restart Kong Gateway for the setting to take effect. For example:
echo "-e 'KONG_ADMIN_GUI_PATH=/manager' \
'KONG_ADMIN_GUI_URL=http://localhost:8002/manager' \
kong reload exit" | docker exec -i KONG_CONTAINER_ID /bin/sh
Replace KONG_CONTAINER_ID
with the ID of your Docker container.
Access Kong Manager on port 8002
at the path you specified in KONG_ADMIN_GUI_PATH
.
Update the admin_gui_url
property
in the kong.conf
configuration file to the DNS, or IP address, of your system. For example:
admin_gui_path = /manager
admin_gui_url = http://localhost:8002/manager
This setting needs to resolve to a network path that can reach the operating system (OS) host.
Restart Kong Gateway for the setting to take effect, using the following command:
kong restart -c {PATH_TO_KONG.CONF_FILE}
Access Kong Manager on port 8002
at the path you specified in admin_gui_path
.