Skip to content
No description, website, or topics provided.
Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
Readme.md
kong.sh
kong.yml

Readme.md

Kong Docker Compose

This repo is a set of files that make it easy to run Kong locally in Docker.

The two main files are the kong.yml file, containing the Docker Compose configuration, and the kong.sh file containing the logic to run Kong and some small configuration options.

Installing

  1. Download this repo to a working directory.
  2. Docker pull the Kong image specified in the top section of the kong.sh file.
  3. Run ./kong.sh fresh to clean up an old running instance, re-build, and start Kong.

Configuring

Currently the only configuration option is setting the Docker image used. The image is set by editing the kong.sh file and set the IMAGE variable with the image name.

Help

Running ./kong.sh help will display the commands and options availale to use and their discription.

Kong Docker Compose

Usage: make <command> [options]

Commands:
    clean     Stop all running containers and delete everything.
    fresh     Delete everything and start a new cluster with default config.
    start     Start Kong Manager, Proxy and the Developer Portal.
    stop      Stop all running containers.
    restart   Restart a running Kong cluster.
    mig       Run Kong migrations.
    admin     Start the Kong Manager.
    proxy     Start the Kong API Proxy.
    portal    Start the Kong Developer Portal.
    httpbin   Run a local httpbin service.
    psql      Run a psql instance.
    info      Display information on the current env config.

Options:
    -r   This will enable rbac on the Kong cluster with hunter2 as the password.
You can’t perform that action at this time.