Skip to content

Kong Gateway (OSS) + OpenIDC plugin (luarocks) + Konga

Notifications You must be signed in to change notification settings

eliza-abraham/kong-oss-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Kong (OSS) + OIDC Plugin + Konga Setup

Kong Database

  1. Create database with postgres12
$ docker-compose up -d kong-database
  1. Run boostrapped migrations for kong in kong database
$ docker-compose up -d kong-migration

Kong (OSS)

  1. Setup Kong which connects to kong-database
$ docker-compose up -d kong
  • Installs Kong 2.8.1 (open source)
  • Installs luarocks5.1
  • Installs [kong-oidc]1.2.4-4

See Dockerfile for more details

Konga

  1. Konga Database
$ docker-compose up -d konga-database
  1. Konga
$ docker-compose up -d konga
  • Konga uses latest version of Konga and uses konga-database (not to be confused with kong-database)

Future Changes

Note: If above PR is merged, update docker-compose for konga to use kong-datase with postgres12

konga-prepare:
  image: pantsel/konga:next
  environment:
    DB_IS_PG12_OR_NEWER: true
  command: "-c prepare -a postgres -u postgresql://kong:kongpass@kong-database:5432/konga_db"
  networks:
    - kong-net
  links:
    - kong-database
  depends_on:
    - kong-database

konga:
  image: pantsel/konga:next
  restart: always
  networks:
      - kong-net
  environment:
    DB_ADAPTER: postgres
    DB_HOST: kong-database
    DB_USER: kong
    DB_PASSWORD: kongpass
    DB_DATABASE: konga_db
    DB_IS_PG12_OR_NEWER: true
    TOKEN_SECRET: km1GUr4RkcQD7DewhJPNXrCuZwcKmqjb
    NODE_ENV: production
  depends_on:
    - kong-database
  ports:
    - "1337:1337"

About

Kong Gateway (OSS) + OpenIDC plugin (luarocks) + Konga

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published